summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-25 07:16:10 +0000
committertron <tron@openttd.org>2005-07-25 07:16:10 +0000
commit201990b5d9d28abb67314076f577190f7a39f3ae (patch)
treea82d96125e84eafe4fb9321c49e6f8a880e8c141 /sdl.c
parentcb3c325e5f8bcb09f390ef7a1af0ef0442fe9462 (diff)
downloadopenttd-201990b5d9d28abb67314076f577190f7a39f3ae.tar.xz
(svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sdl.c b/sdl.c
index 3aaacbea4..cc0145aab 100644
--- a/sdl.c
+++ b/sdl.c
@@ -1,6 +1,9 @@
/* $Id$ */
#include "stdafx.h"
+
+#ifdef WITH_SDL
+
#include "openttd.h"
#include "sdl.h"
#include <SDL.h>
@@ -127,3 +130,5 @@ void SdlClose(uint32 x)
#endif
}
}
+
+#endif