From: <sv...@op...> - 2025-01-03 20:57:52
|
Author: manx Date: Fri Jan 3 21:57:25 2025 New Revision: 22758 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22758 Log: Merged revision(s) 22744 from trunk/OpenMPT: [Ref] mpt/base/detect_quirks.hpp: Add MPT_LIBCXX_QUIRK_BROKEN_USER_LOCALE and MPT_LIBCXX_QUIRK_BROKEN_ACTIVE_LOCALE for Cygwin. See <https://cygwin.com/cgit/cygwin-packages/libopenmpt/tree/libopenmpt-0.7.12-1.src.patch?id=c4baa491e8a0975a1c7e0dfdf5ddf208d5b4ba6b>. ........ Modified: branches/OpenMPT-1.31/ (props changed) branches/OpenMPT-1.31/src/mpt/base/detect_quirks.hpp Modified: branches/OpenMPT-1.31/src/mpt/base/detect_quirks.hpp ============================================================================== --- branches/OpenMPT-1.31/src/mpt/base/detect_quirks.hpp Fri Jan 3 21:56:51 2025 (r22757) +++ branches/OpenMPT-1.31/src/mpt/base/detect_quirks.hpp Fri Jan 3 21:57:25 2025 (r22758) @@ -241,6 +241,16 @@ +#if MPT_OS_CYGWIN +#define MPT_LIBCXX_QUIRK_BROKEN_USER_LOCALE +#endif + + + +// #define MPT_LIBCXX_QUIRK_BROKEN_ACTIVE_LOCALE + + + #if MPT_CXX_AT_LEAST(20) // Clang 14 is incompatible with libstdc++ 13 in C++20 mode #if MPT_CLANG_BEFORE(15, 0, 0) && MPT_LIBCXX_GNU_AT_LEAST(13) |