(svn r11326) -Cleanup: [OSX] removed now unneeded includes and unreached conditional defines from some OSX specific files
authorbjarni
Sun, 21 Oct 2007 11:05:39 +0000
changeset 7776 7f191fb28a5a
parent 7775 5ca1ba91cde2
child 7777 862be4f77f23
(svn r11326) -Cleanup: [OSX] removed now unneeded includes and unreached conditional defines from some OSX specific files
src/music/qtmidi.cpp
src/sound/cocoa_s.cpp
--- a/src/music/qtmidi.cpp	Sun Oct 21 10:53:23 2007 +0000
+++ b/src/music/qtmidi.cpp	Sun Oct 21 11:05:39 2007 +0000
@@ -27,7 +27,6 @@
 #undef   WindowClass
 
 #include "../stdafx.h"
-#include "../openttd.h"
 #include "qtmidi.h"
 
 /*
--- a/src/sound/cocoa_s.cpp	Sun Oct 21 10:53:23 2007 +0000
+++ b/src/sound/cocoa_s.cpp	Sun Oct 21 11:05:39 2007 +0000
@@ -14,21 +14,11 @@
 #define Rect        OTTDRect
 #define Point       OTTDPoint
 #define WindowClass OTTDWindowClass
-/* Defined in stdbool.h */
-#ifndef __cplusplus
-# ifndef __BEOS__
-#  undef bool
-#  undef false
-#  undef true
-# endif
-#endif
 
 #include "../stdafx.h"
-#include "../openttd.h"
 #include "../debug.h"
 #include "../driver.h"
 #include "../mixer.h"
-#include "../sdl.h"
 
 #include "cocoa_s.h"