[PSP] SDL_Mixer

Create a single thread for each patch to be added to the repository. Please try to stay on topic.
Post Reply
ChaoticXSinZ
Posts: 3
Joined: Mon Nov 30, 2009 7:11 am

[PSP] SDL_Mixer

Post by ChaoticXSinZ »

If SDL_Mixer is compiled with support for libmikmod there are multiple declaration errors due to a small bug in music.c line 1156.

It should say ifndef instead of ifdef.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

I think the code is correct as-is. The Player_SetSynchroValue and Player_GetSynchroValue functions aren't in the current svn version of libmikmod, so if you're building against external mikmod libraries, then these definitions are needed.

Maybe you were trying to build against both the external and the internal mikmod? Ie. giving both --enable-music-libmikmod and --enable-music-mod to configure could cause that problem.
Post Reply