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