summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2019-09-29 14:04:49 +0200
committerMichael Lutz <michi@icosahedron.de>2019-09-29 20:31:48 +0200
commit316e4e94171d8d269b80dd9e329fc1fe610fbfe2 (patch)
treeca2cf9de3c404dd20b21878e7e869a2122aa2e2c /src/music
parent61d6fa97cce2769fe8867e4fbf0de14ab42fd633 (diff)
downloadopenttd-316e4e94171d8d269b80dd9e329fc1fe610fbfe2.tar.xz
Fix: [OSX] Macro name conflict when trying to compile the QuickTime music driver.
Diffstat (limited to 'src/music')
-rw-r--r--src/music/qtmidi.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/music/qtmidi.cpp b/src/music/qtmidi.cpp
index f8412a2dc..eb032e950 100644
--- a/src/music/qtmidi.cpp
+++ b/src/music/qtmidi.cpp
@@ -34,11 +34,13 @@
#include "../debug.h"
#include "../base_media_base.h"
-#define Rect OTTDRect
-#define Point OTTDPoint
+#define Rect OTTD_Rect
+#define Point OTTD_Point
+#define WindowClass OTTD_WindowClass
#include <QuickTime/QuickTime.h>
#undef Rect
#undef Point
+#undef WindowClass
#include "../safeguards.h"