DescriptionDon'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
Committed: https://crrev.com/38e2756fd149695916e2948ec88f96d3ea005d23
Cr-Commit-Position: refs/heads/master@{#324133}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|