How to tell if you're compiling on Windows?
The _WIN32 is always defined on Windows platform, checkout the predefined macros.
This is the most complete table I know of. https://sourceforge.net/p/predef/wiki/Compilers/
The _WIN32 is always defined on Windows platform, checkout the predefined macros.
This is the most complete table I know of. https://sourceforge.net/p/predef/wiki/Compilers/