From: <sv...@op...> - 2024-08-12 14:29:17
|
Author: manx Date: Mon Aug 12 16:29:11 2024 New Revision: 21395 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21395 Log: Merged revision(s) 21394 from trunk/OpenMPT: [Fix] Work-around broken Apple Clang 13.0 version number. ........ Modified: branches/OpenMPT-1.31/ (props changed) branches/OpenMPT-1.31/soundlib/SampleFormatMP3.cpp Modified: branches/OpenMPT-1.31/soundlib/SampleFormatMP3.cpp ============================================================================== --- branches/OpenMPT-1.31/soundlib/SampleFormatMP3.cpp Mon Aug 12 16:28:38 2024 (r21394) +++ branches/OpenMPT-1.31/soundlib/SampleFormatMP3.cpp Mon Aug 12 16:29:11 2024 (r21395) @@ -172,7 +172,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 @@ -180,7 +180,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 |