From: <sv...@op...> - 2024-12-26 19:04:54
|
Author: manx Date: Thu Dec 26 20:04:41 2024 New Revision: 22607 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22607 Log: [Fix] mpt/base/detect_quirks.hpp: Be more defensive with macOS target version check for older XCode. 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 Mon Dec 23 17:50:51 2024 (r22606) +++ trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Thu Dec 26 20:04:41 2024 (r22607) @@ -318,11 +318,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 |