mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-16 19:54:38 +01:00
Add a new constant to avoid including <windows.h> on Linux
This commit is contained in:
parent
fcbb557a44
commit
42ae8f60b8
@ -80,16 +80,15 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(POCO_NO_WINDOWS_H)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
// To prevent Platform_WIN32.h to modify version defines,
|
||||
// uncomment this, otherwise versions will be automatically
|
||||
// discovered in Platform_WIN32.h.
|
||||
// #define POCO_FORCE_MIN_WINDOWS_OS_SUPPORT
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
#if !defined(POCO_NO_UNWINDOWS)
|
||||
// A list of annoying macros to #undef.
|
||||
// Extend as required.
|
||||
|
@ -49,10 +49,12 @@
|
||||
${Includes},
|
||||
-I/usr/local/mysql/include,
|
||||
-I/usr/include/mysql,
|
||||
-I/usr/include/postgresql,
|
||||
-D_DEBUG,
|
||||
-E,
|
||||
-C,
|
||||
-DPOCO_NO_GCC_API_ATTRIBUTE
|
||||
-DPOCO_NO_WINDOWS_H
|
||||
</options>
|
||||
<path></path>
|
||||
<usePipe>true</usePipe>
|
||||
|
@ -46,10 +46,12 @@
|
||||
${Includes},
|
||||
-I/usr/local/mysql/include,
|
||||
-I/usr/include/mysql,
|
||||
-I/usr/include/postgresql,
|
||||
-D_DEBUG,
|
||||
-E,
|
||||
-C,
|
||||
-DPOCO_NO_GCC_API_ATTRIBUTE
|
||||
-DPOCO_NO_WINDOWS_H
|
||||
</options>
|
||||
<path></path>
|
||||
<usePipe>true</usePipe>
|
||||
|
Loading…
Reference in New Issue
Block a user