mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
Improve check for Windows platforms
Instead of checking for compiler, check for platform.
This commit is contained in:
parent
9e1f80ab3e
commit
a6c1e040e5
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@
|
|||
#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
|
||||
#include <windows.h>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#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
|
||||
#include <windows.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue