From: DeaDDooMER Date: Thu, 14 Jul 2022 00:16:51 +0000 (+0300) Subject: sdl: fix build on linux X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=11e475e0aca7569268c3424febfa3f422b2ebd33;p=d2df-sdl.git sdl: fix build on linux --- diff --git a/src/lib/sdl/sdl.pas b/src/lib/sdl/sdl.pas index ebec9ee..800fd64 100644 --- a/src/lib/sdl/sdl.pas +++ b/src/lib/sdl/sdl.pas @@ -466,7 +466,6 @@ const // Native audio byte ordering {$IFDEF FPC_LITTLE_ENDIAN} - SDL_BYTEORDER = SDL_LIL_ENDIAN; AUDIO_U16SYS = AUDIO_U16LSB; AUDIO_S16SYS = AUDIO_S16LSB; {$ELSE} diff --git a/src/lib/sdl/sdl_mixer.pas b/src/lib/sdl/sdl_mixer.pas index b1b4e3c..0dd6a12 100644 --- a/src/lib/sdl/sdl_mixer.pas +++ b/src/lib/sdl/sdl_mixer.pas @@ -467,7 +467,7 @@ type 3 : ( midi : TMidiSong ); 4 : ( ogg : POGG_music ); {$IFNDEF DARWIN} - 5 : ( mp3 : PSMPEG ); + //5 : ( mp3 : PSMPEG ); {$ENDIF} end;