fix WIN32 macro

MinGW implements the _ version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-01-26 15:18:11 -08:00
parent 34318260ea
commit 0a5c1299e4

View File

@ -38,7 +38,7 @@
# define _WIN64 1
#endif
#if defined WIN32
#if defined _WIN32
# define WIN_ENV 1
/* Todo: How to correctly recognize a Mac platform? */
#elif defined macintosh || defined MACOS_CLASSIC || defined MACOS_X_UNIX || defined MACOS_X || defined MACOS || defined(__APPLE__)