Improve check for Windows platforms
Instead of checking for compiler, check for platform.
This commit is contained in:
parent
9e1f80ab3e
commit
a6c1e040e5
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue