Don't define timespec in VS 2015 builds.
VS 2015 includes time.h from stdlib.h which leads to redefinition warnings when threads_windows.h defines the timespec struct. Ideally threads_windows.h shouldn't be defining CRT structs at all, but I am doing the minimum scoped change to move VS 2015 development forwards. _MSC_VER == 1900 represents the VC++ 2015 compiler. R=reillyg@chromium.org BUG=440500 Review URL: https://codereview.chromium.org/1067093002 Cr-Commit-Position: refs/heads/master@{#324133}
Showing
Please register or sign in to comment