summaryrefslogtreecommitdiff
path: root/src/sound
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound')
-rw-r--r--src/sound/cocoa_s.cpp17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/sound/cocoa_s.cpp b/src/sound/cocoa_s.cpp
index 851136efa..f50b6bd94 100644
--- a/src/sound/cocoa_s.cpp
+++ b/src/sound/cocoa_s.cpp
@@ -10,27 +10,18 @@
#ifdef WITH_COCOA
-#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_3
-#include <AvailabilityMacros.h>
-
-#include <AudioUnit/AudioUnit.h>
-
-/* Name conflict */
-#define Rect OTTDRect
-#define Point OTTDPoint
-#define WindowClass OTTDWindowClass
-
#include "../stdafx.h"
#include "../debug.h"
#include "../driver.h"
#include "../mixer.h"
#include "../core/endian_type.hpp"
-
#include "cocoa_s.h"
-#undef WindowClass
-#undef Point
+#define Rect OTTDRect
+#define Point OTTDPoint
+#include <AudioUnit/AudioUnit.h>
#undef Rect
+#undef Point
static FSoundDriver_Cocoa iFSoundDriver_Cocoa;