diff options
author | bjarni <bjarni@openttd.org> | 2005-07-28 09:01:41 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-07-28 09:01:41 +0000 |
commit | 41795423cf62874a43480f7ac263a0cc46baacd4 (patch) | |
tree | 6820382d6d5891f28733c0a95e4b19b55adf6799 | |
parent | 3af8aba97806763e0b62741c949a6b2a311cdbd3 (diff) | |
download | openttd-41795423cf62874a43480f7ac263a0cc46baacd4.tar.xz |
(svn r2735) -Fix: [OSX] fixed issue introduced in 2733 where dedicated servers on OSX included sdl.h even when WITH_SDL was not defined (oops)
-rw-r--r-- | unix.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -39,8 +39,11 @@ ULONG __stack = (1024*1024)*2; // maybe not that much is needed actually ;) #endif #if defined(__APPLE__) -#include <SDL.h> //the mac implementation needs this file included in the same file as main() -#include "os/macosx/macos.h" + #if defined(WITH_SDL) + //the mac implementation needs this file included in the same file as main() + #include <SDL.h> + #endif + #include "os/macosx/macos.h" #endif static char *_fios_path; |