summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"