aboutsummaryrefslogtreecommitdiff
path: root/sound/gmidi.cpp
diff options
context:
space:
mode:
authorMutwin Kraus2002-03-14 13:28:32 +0000
committerMutwin Kraus2002-03-14 13:28:32 +0000
commita5d424aa18f933a003ecbae5bddf9428a559de15 (patch)
tree58b69787b0a091fcc8e59692e3c5e42522b9e3b6 /sound/gmidi.cpp
parent7ba12f5f97f427e9d9999b01c215edaae7a932ac (diff)
downloadscummvm-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/gmidi.cpp')
-rw-r--r--sound/gmidi.cpp4
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;