[win32] silence warning about WIN32_LEAN_AND_MEAN redefinitions
This commit is contained in:
parent
6499bcd2a2
commit
e93bf76adc
|
@ -14,7 +14,9 @@
|
||||||
#if PLATFORM_MACOS || PLATFORM_LINUX
|
#if PLATFORM_MACOS || PLATFORM_LINUX
|
||||||
typedef int io_file_desc;
|
typedef int io_file_desc;
|
||||||
#elif PLATFORM_WINDOWS
|
#elif PLATFORM_WINDOWS
|
||||||
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#endif
|
||||||
#include<windows.h>
|
#include<windows.h>
|
||||||
typedef HANDLE io_file_desc;
|
typedef HANDLE io_file_desc;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue