From: <sv...@op...> - 2024-08-12 14:28:51
|
Author: manx Date: Mon Aug 12 16:28:38 2024 New Revision: 21394 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21394 Log: [Fix] Work-around broken Apple Clang 13.0 version number. Modified: trunk/OpenMPT/soundlib/SampleFormatMP3.cpp Modified: trunk/OpenMPT/soundlib/SampleFormatMP3.cpp ============================================================================== --- trunk/OpenMPT/soundlib/SampleFormatMP3.cpp Mon Aug 12 16:23:28 2024 (r21393) +++ trunk/OpenMPT/soundlib/SampleFormatMP3.cpp Mon Aug 12 16:28:38 2024 (r21394) @@ -219,7 +219,7 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wframe-larger-than=16000" #endif // MPT_COMPILER_GCC -#if MPT_CLANG_AT_LEAST(13,0,0) +#if (MPT_CLANG_AT_LEAST(13,0,0) && !MPT_OS_MACOSX_OR_IOS) || MPT_CLANG_AT_LEAST(13,1,0) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wframe-larger-than" #endif // MPT_COMPILER_CLANG @@ -227,7 +227,7 @@ { return mp3dec_decode_frame(dec, mp3, mp3_bytes, pcm, info); } -#if MPT_CLANG_AT_LEAST(13,0,0) +#if (MPT_CLANG_AT_LEAST(13,0,0) && !MPT_OS_MACOSX_OR_IOS) || MPT_CLANG_AT_LEAST(13,1,0) #pragma clang diagnostic pop #endif // MPT_COMPILER_CLANG #if MPT_COMPILER_GCC |