diff options
Diffstat (limited to 'audio/softsynth')
-rw-r--r-- | audio/softsynth/fluidsynth.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/softsynth/fluidsynth.cpp b/audio/softsynth/fluidsynth.cpp index 4240958616..4dc43499d3 100644 --- a/audio/softsynth/fluidsynth.cpp +++ b/audio/softsynth/fluidsynth.cpp @@ -31,7 +31,7 @@ #include "audio/musicplugin.h" #include "audio/mpu401.h" #include "audio/softsynth/emumidi.h" -#ifdef IPHONE_OFFICIAL_IOS7 +#if defined(IPHONE_IOS7) && defined(IPHONE_SANDBOXED) #include <string.h> #include <sys/syslimits.h> #include "backends/platform/ios7/ios7_common.h" @@ -184,7 +184,7 @@ int MidiDriver_FluidSynth::open() { const char *soundfont = ConfMan.get("soundfont").c_str(); -#ifdef IPHONE_OFFICIAL_IOS7 +#if defined(IPHONE_IOS7) && defined(IPHONE_SANDBOXED) // HACK: Due to the sandbox on non-jailbroken iOS devices, we need to deal with the chroot filesystem. // All the path selected by the user are relative to the Document directory. So, we need to adjust // the path to reflect that. |