Changeset - r2217:089efffabecd
[Not reviewed]
master
0 1 0
bjarni - 19 years ago 2005-07-28 09:01:41
bjarni@openttd.org
(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)
1 file changed with 5 insertions and 2 deletions:
unix.c
5
2
0 comments (0 inline, 0 general)
unix.c
Show inline comments
 
@@ -39,8 +39,11 @@ ULONG __stack = (1024*1024)*2; // maybe 
 
#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;
0 comments (0 inline, 0 general)