Improve check for Windows platforms

Instead of checking for compiler, check for platform.
This commit is contained in:
Behdad Esfahbod 2013-02-12 15:31:58 -05:00
parent 9e1f80ab3e
commit a6c1e040e5
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
#if 0 #if 0
#elif !defined(HB_NO_MT) && (defined(_MSC_VER) || defined(__MINGW32__)) #elif !defined(HB_NO_MT) && (defined(_WIN32) || defined(__CYGWIN__))
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>

View File

@ -42,7 +42,7 @@
#if 0 #if 0
#elif !defined(HB_NO_MT) && (defined(_MSC_VER) || defined(__MINGW32__)) #elif !defined(HB_NO_MT) && (defined(_WIN32) || defined(__CYGWIN__))
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>