target_link_libraries(lugaru ${LUGARU_LIBS})
if(WIN32)
- add_definitions(-DUSE_OPENAL=1 -DUSE_SDL=1 -DBinIO_STDINT_HEADER=<stdint.h>)
+ add_definitions(-DBinIO_STDINT_HEADER=<stdint.h>)
if(MINGW)
# An alternative would be to use _WIN32 consistently instead of WIN32
add_definitions(-DWIN32)
endif(MINGW)
else(WIN32)
- add_definitions(-DPLATFORM_LINUX=1 -DPLATFORM_UNIX=1 -DUSE_OPENAL=1 -DUSE_SDL=1 -DBinIO_STDINT_HEADER=<stdint.h>)
+ add_definitions(-DPLATFORM_LINUX=1 -DPLATFORM_UNIX=1 -DBinIO_STDINT_HEADER=<stdint.h>)
endif(WIN32)
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#if USE_OPENAL
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
channels[chan] = OPENAL_Stream_PlayEx(OPENAL_FREE, sptr, dsp, startpaused);
}
}
-
-#endif
-