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.
This commit is contained in:
Vadim Zeitlin 2023-08-02 04:01:45 +02:00
parent 104b178cd7
commit a42d9181d6

View file

@ -77,6 +77,10 @@
#define LOCALE_IREADINGLAYOUT 0x00000070
#endif
#ifndef LOCALE_RETURN_GENITIVE_NAMES
#define LOCALE_RETURN_GENITIVE_NAMES 0x10000000
#endif
// ============================================================================
// implementation
// ============================================================================