(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)

This commit is contained in:
bjarni
2005-07-28 09:01:41 +00:00
parent 3af8aba978
commit 41795423cf

7
unix.c
View File

@@ -39,8 +39,11 @@ ULONG __stack = (1024*1024)*2; // maybe not that much is needed actually ;)
#endif #endif
#if defined(__APPLE__) #if defined(__APPLE__)
#include <SDL.h> //the mac implementation needs this file included in the same file as main() #if defined(WITH_SDL)
#include "os/macosx/macos.h" //the mac implementation needs this file included in the same file as main()
#include <SDL.h>
#endif
#include "os/macosx/macos.h"
#endif #endif
static char *_fios_path; static char *_fios_path;