mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
Add a new constant to avoid including <windows.h> on Linux
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user