[sdlsound] Patch to SDL_sound.c

Ryan C. Gordon icculus at icculus.org
Thu Sep 11 05:34:47 EDT 2008


> http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/sdl-sound/SDL_sound-haiku.c.diff?rev=146
> Haiku uses gcc 2.95.3 which complains since a *internal wasn't defined

Fixed in hg changeset 553:5ec7f4e5e20b, thanks!

> prior to being used.  I suppose you might be able to just swap the two
> lines, as a similar line of code in at line 528 didn't trip up the
> build in Haiku:

Yeah, BAIL_IF_MACRO adds code, so on pre-C99 compilers like gcc2, 
variables have to be declared before it.

Also: is binary compatibility with BeOS 5 really worth the pain of using 
gcc 2.95?  :)

--ryan.




More information about the sdlsound mailing list