From: <sv...@op...> - 2025-01-03 16:00:22
|
Author: manx Date: Fri Jan 3 17:00:01 2025 New Revision: 22744 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22744 Log: [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: trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Modified: trunk/OpenMPT/src/mpt/base/detect_quirks.hpp ============================================================================== --- trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Fri Jan 3 16:57:34 2025 (r22743) +++ trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Fri Jan 3 17:00:01 2025 (r22744) @@ -257,6 +257,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) #if MPT_LIBCXX_GNU_BEFORE(10) || MPT_LIBCXX_LLVM_BEFORE(13000) || (MPT_LIBCXX_MS && MPT_MSVC_BEFORE(2022, 0)) || (MPT_LIBCXX_MS && !MPT_COMPILER_MSVC) #define MPT_LIBCXX_QUIRK_NO_CXX20_CONSTEXPR_ALGORITHM |