From: <sv...@op...> - 2024-11-02 13:43:27
|
Author: manx Date: Sat Nov 2 14:43:14 2024 New Revision: 22075 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22075 Log: [Ref] MP3 Samples: libmpg123: We only need typedef for mpg123_ssize_t when not using the new portable API. Modified: trunk/OpenMPT/soundlib/SampleFormatMP3.cpp Modified: trunk/OpenMPT/soundlib/SampleFormatMP3.cpp ============================================================================== --- trunk/OpenMPT/soundlib/SampleFormatMP3.cpp Sat Nov 2 12:41:35 2024 (r22074) +++ trunk/OpenMPT/soundlib/SampleFormatMP3.cpp Sat Nov 2 14:43:14 2024 (r22075) @@ -73,8 +73,6 @@ using mpg123_size_t = size_t; -#endif - // Check for exactly _MSC_VER as libmpg123 does, in order to also catch clang-cl. #ifdef _MSC_VER // ssize_t definition in libmpg123.h.in should never have existed at all. @@ -84,6 +82,8 @@ using mpg123_ssize_t = ssize_t; #endif +#endif + class ComponentMPG123 : public ComponentBuiltin { |