On 2024-09-29 Su 6:28 PM, Thomas Munro wrote:
Just an idea...

--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -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
  #define MIN_WINNT 0x0600
  #else
  #define MIN_WINNT 0x0501


This seems reasonable as just about the most minimal change we can make work.


cheers


andrew



--
Andrew Dunstan
EDB: https://www.enterprisedb.com



Reply via email to