From e3c7a77b4066f00f3248e390184da874bd20d7ee Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 14 Jul 2009 16:43:45 +0000 Subject: (svn r16827) -Codechange: make OSX specific files include stdafx.h always as the first file. Also unify OSX specific stuff into osx_stdafx.h and remove unused includes. --- src/sound/cocoa_s.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'src/sound') 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 - -#include - -/* 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 #undef Rect +#undef Point static FSoundDriver_Cocoa iFSoundDriver_Cocoa; -- cgit v1.2.3-70-g09d2