aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/poco/0008-fix-mingw-compilation.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/poco/0008-fix-mingw-compilation.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/poco/0008-fix-mingw-compilation.patch')
-rw-r--r--vcpkg/ports/poco/0008-fix-mingw-compilation.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/poco/0008-fix-mingw-compilation.patch b/vcpkg/ports/poco/0008-fix-mingw-compilation.patch
new file mode 100644
index 0000000..97cda3a
--- /dev/null
+++ b/vcpkg/ports/poco/0008-fix-mingw-compilation.patch
@@ -0,0 +1,40 @@
+diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt
+index 41ba99936..b3986690f 100644
+--- a/Foundation/CMakeLists.txt
++++ b/Foundation/CMakeLists.txt
+@@ -193,7 +193,6 @@ if(MINGW)
+ _WIN32
+ MINGW32
+ WINVER=0x500
+- ODBCVER=0x0300
+ POCO_THREAD_STACK_SIZE
+ )
+ endif()
+diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h
+index 7a4e7e2fb..8caa6de06 100644
+--- a/Foundation/include/Poco/Platform.h
++++ b/Foundation/include/Poco/Platform.h
+@@ -244,6 +244,9 @@
+ #define POCO_NO_FPENVIRONMENT
+ #endif
+
++#if defined (__MINGW32__) || defined (__MINGW64__)
++ #define POCO_COMPILER_MINGW
++#endif
+
+ #if defined(__clang__)
+ #define POCO_COMPILER_CLANG
+@@ -255,13 +258,8 @@
+ #elif defined (__GNUC__)
+ #define POCO_COMPILER_GCC
+ #if __has_include(<cxxabi.h>)
+ #define POCO_HAVE_CXXABI_H
+ #endif
+- #if defined (__MINGW32__) || defined (__MINGW64__)
+- #define POCO_COMPILER_MINGW
+- #endif
+-#elif defined (__MINGW32__) || defined (__MINGW64__)
+- #define POCO_COMPILER_MINGW
+ #elif defined (__INTEL_COMPILER) || defined(__ICC) || defined(__ECC) || defined(__ICL)
+ #define POCO_COMPILER_INTEL
+ #elif defined (__SUNPRO_CC)