Add a new constant to avoid including <windows.h> on Linux

This commit is contained in:
Francis ANDRE
2017-03-23 17:14:57 +01:00
parent fcbb557a44
commit 42ae8f60b8
3 changed files with 7 additions and 4 deletions

View File

@@ -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.