Files
MINGW-packages/mingw-w64-postgresql/postgresql-15.1-clang-16.patch
Markus Mützel 76c600e34b postgresql: update to 15.3
Raise minimum version to Windows Vista for compatibility with Clang 16.
2023-07-25 21:22:48 +02:00

12 lines
482 B
Diff

--- postgresql-15.3/src/include/port/win32.h.orig 2023-07-25 21:15:00.352361300 +0200
+++ postgresql-15.3/src/include/port/win32.h 2023-07-25 21:17:23.862789100 +0200
@@ -16,7 +16,7 @@
* get support for GetLocaleInfoEx() with locales. For everything else
* the minimum version is Windows XP (0x0501).
*/
-#if defined(_MSC_VER) && _MSC_VER >= 1900
+#if (defined(_MSC_VER) && _MSC_VER >= 1900) || defined (__MINGW32__)
#define MIN_WINNT 0x0600
#else
#define MIN_WINNT 0x0501