From 5e932e1380eedafb80915f284ae8973eeb0ee140 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 13 Mar 2025 04:04:10 +0300 Subject: [PATCH] music_mpg123.c: disable _FILE_OFFSET_BITS suffixes on libmpg123 calls. Avoids libmpg123's terrifying mess. Useful if mpg123_shared is disabled and if SDL_mixer is built with _FILE_OFFSET_BITS=64. --- src/codecs/music_mpg123.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/codecs/music_mpg123.c b/src/codecs/music_mpg123.c index 44493b882..c334ee824 100644 --- a/src/codecs/music_mpg123.c +++ b/src/codecs/music_mpg123.c @@ -30,6 +30,7 @@ #include "mp3utils.h" #include /* For SEEK_SET */ +#define MPG123_NO_LARGENAME /* disable the _FILE_OFFSET_BITS suffixes. */ #ifdef MPG123_HEADER #include MPG123_HEADER #else