Skip to content

Commit ce8aee5

Browse files
committed
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. (cherry picked from commit 72a7333)
1 parent 1f61243 commit ce8aee5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/codecs/music_mpg123.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include "mp3utils.h"
3131

3232
#include <stdio.h> /* For SEEK_SET */
33+
#define MPG123_NO_LARGENAME /* disable the _FILE_OFFSET_BITS suffixes. */
3334
#ifdef MPG123_HEADER
3435
#include MPG123_HEADER
3536
#else

0 commit comments

Comments
 (0)