12 lines
482 B
Diff
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
|