mirror of https://github.com/OpenTTD/OpenTTD
(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)
parent
727dea5824
commit
139f0c95ca
7
unix.c
7
unix.c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue