From a42d9181d6bf0e16856fa13b38af33951a22d8c8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 2 Aug 2023 04:01:45 +0200 Subject: [PATCH] Define LOCALE_RETURN_GENITIVE_NAMES for old MinGW support Some (very) old MinGW versions, such as 5.3.0 used on AppVeyor CI for 3.2 builds, don't provide the definition of this constant, so do it ourselves. See #23747. --- src/msw/uilocale.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/uilocale.cpp b/src/msw/uilocale.cpp index 5c20f53627..b37ee86819 100644 --- a/src/msw/uilocale.cpp +++ b/src/msw/uilocale.cpp @@ -77,6 +77,10 @@ #define LOCALE_IREADINGLAYOUT 0x00000070 #endif +#ifndef LOCALE_RETURN_GENITIVE_NAMES +#define LOCALE_RETURN_GENITIVE_NAMES 0x10000000 +#endif + // ============================================================================ // implementation // ============================================================================