From: <at...@us...> - 2007-09-11 16:37:55
|
Revision: 513 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=513&view=rev Author: atani Date: 2007-09-11 09:37:50 -0700 (Tue, 11 Sep 2007) Log Message: ----------- fix openal version check crap Modified Paths: -------------- tiki/sdl/src/init_shutdown.cpp Modified: tiki/sdl/src/init_shutdown.cpp =================================================================== --- tiki/sdl/src/init_shutdown.cpp 2007-09-11 01:50:14 UTC (rev 512) +++ tiki/sdl/src/init_shutdown.cpp 2007-09-11 16:37:50 UTC (rev 513) @@ -24,7 +24,10 @@ return false; } if(g_tiki_init_flags & INIT_AUDIO_MASK) { -#ifdef AL_LINUX +// OpenAL team doesnt seem to increment version numbers when they make signature changes +// use the header ifdef/endif flag to figure out version since this seems to have changed +// between the compatible versions +#ifndef ALC_CONTEXT_H_ ALCdevice * dev = alcOpenDevice( (ALCchar *)("sdl") ); #else ALCdevice * dev = alcOpenDevice( (ALCubyte *)("sdl") ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |