Fix an issue in the special snowflake windows version of the STL#4294
Conversation
…fined _CRT_WINDOWS is only defined when _building_ the crt in windows mode.
|
The build is failing with "C4384: pragma |
eagh, it is a bit shifty to have pragma detect mismatch in the middle of a class definition, I'll just move it |
STL reviewed this and casey's comments were addressed
We change the size of critical sections based on
_CRT_WINDOWS, but that macro is defined at build time only, and the size is relevant in our headers. We need to change the size based onUNDOCKED_WINDOWS_UCRTas well, which is defined in consumers.I've added a pragma detect mismatch as well, but as its own commit. If we don't want it we don't have to accept that commit.