From: <sv...@op...> - 2024-12-26 19:16:10
|
Author: manx Date: Thu Dec 26 20:16:02 2024 New Revision: 22610 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22610 Log: Merged revision(s) 22607 from trunk/OpenMPT: [Fix] mpt/base/detect_quirks.hpp: Be more defensive with macOS target version check for older XCode. ........ 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 Thu Dec 26 20:14:51 2024 (r22609) +++ branches/OpenMPT-1.31/src/mpt/base/detect_quirks.hpp Thu Dec 26 20:16:02 2024 (r22610) @@ -291,11 +291,15 @@ #elif MPT_OS_MACOSX_OR_IOS #if defined(TARGET_OS_OSX) #if TARGET_OS_OSX +#if !defined(MAC_OS_X_VERSION_10_15) +#define MPT_LIBCXX_QUIRK_NO_TO_CHARS_INT +#else #if (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_15) #define MPT_LIBCXX_QUIRK_NO_TO_CHARS_INT #endif #endif #endif +#endif #endif |