Prevent double macro definition of WIN32.

David Rowley.
This commit is contained in:
Andrew Dunstan 2014-01-17 11:49:44 -05:00
parent 4cba1f6bbf
commit b64d956d58
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@
* but _WIN32 is the compiler pre-defined macro. So make sure we define
* WIN32 whenever _WIN32 is set, to facilitate standalone building.
*/
#if defined(_WIN32)
#if defined(_WIN32) && !defined(WIN32)
#define WIN32
#endif