J :
* Fix linux compilation that had been broken by the last update.
This commit is contained in:
@@ -122,6 +122,6 @@ endif
|
||||
|
||||
Makefile.linux:
|
||||
g++ -o /dev/null src/testfeatures.c -L$(LIBDIR) -lfmod-3.75
|
||||
@if [ "0" == "$?" ]; then echo 'FMOD=-DWITH_FMOD'; else echo 'FMOD=-DWITHOUT_FMOD'; fi > $@
|
||||
@if [ "0" = "$$?" ]; then echo 'FMOD=-DWITH_FMOD'; else echo 'FMOD=-DWITHOUT_FMOD'; fi > $@
|
||||
|
||||
-include Makefile.$(TARGET_ARCHITECTURE)
|
||||
|
||||
@@ -39,7 +39,9 @@
|
||||
#include "JMP3.h"
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef WITH_FMOD
|
||||
#include "../Dependencies/include/fmod.h"
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------------------------
|
||||
class JMusic
|
||||
|
||||
@@ -115,7 +115,7 @@ JMusic *JSoundSystem::LoadMusic(const char *fileName)
|
||||
{
|
||||
#ifndef WITH_FMOD
|
||||
return NULL;
|
||||
#elif
|
||||
#else
|
||||
JMusic* music = new JMusic();
|
||||
if (music)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user