diff options
author | Mutwin Kraus | 2002-03-14 13:28:32 +0000 |
---|---|---|
committer | Mutwin Kraus | 2002-03-14 13:28:32 +0000 |
commit | a5d424aa18f933a003ecbae5bddf9428a559de15 (patch) | |
tree | 58b69787b0a091fcc8e59692e3c5e42522b9e3b6 /sound | |
parent | 7ba12f5f97f427e9d9999b01c215edaae7a932ac (diff) | |
download | scummvm-rg350-a5d424aa18f933a003ecbae5bddf9428a559de15.tar.gz scummvm-rg350-a5d424aa18f933a003ecbae5bddf9428a559de15.tar.bz2 scummvm-rg350-a5d424aa18f933a003ecbae5bddf9428a559de15.zip |
should be "#if !defined", instead of "#if !define" :)
svn-id: r3747
Diffstat (limited to 'sound')
-rw-r--r-- | sound/gmidi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/gmidi.cpp b/sound/gmidi.cpp index ba9cddd34c..02efadfde9 100644 --- a/sound/gmidi.cpp +++ b/sound/gmidi.cpp @@ -113,7 +113,7 @@ void MidiDriver::midiInitSeq() { int MidiDriver::open_sequencer_device() { int device = 0; -#if !define(__APPLE__CW) // No getenv support on Apple Carbon +#if !defined(__APPLE__CW) // No getenv support on Apple Carbon char *device_name = getenv("SCUMMVM_MIDI"); if (device_name != NULL) { device = (open((device_name), O_RDWR, 0)); @@ -136,7 +136,7 @@ int MidiDriver::open_sequencer_device() { /*********** Timidity */ int MidiDriver::connect_to_timidity(int port) { int s = 0; -#if !define(__APPLE__CW) // No socket support on Apple Carbon +#if !defined(__APPLE__CW) // No socket support on Apple Carbon struct hostent *serverhost; struct sockaddr_in sadd; |