(svn r2699) Hopefully fix the compilation on Windows when SDL is not present
authortron
Sun, 24 Jul 2005 10:39:12 +0000
changeset 2184 da3fcb84c408
parent 2183 b88b90aba8bc
child 2185 3df7d9081a29
(svn r2699) Hopefully fix the compilation on Windows when SDL is not present
win32.c
--- a/win32.c	Sun Jul 24 06:09:54 2005 +0000
+++ b/win32.c	Sun Jul 24 10:39:12 2005 +0000
@@ -23,14 +23,17 @@
 #include "music/win32_m.h"
 
 #include "sound/null_s.h"
-#include "sound/sdl_s.h"
 #include "sound/win32_s.h"
 
 #include "video/dedicated_v.h"
 #include "video/null_v.h"
-#include "video/sdl_v.h"
 #include "video/win32_v.h"
 
+#ifdef WITH_SDL
+	#include "sound/sdl_s.h"
+	#include "video/sdl_v.h"
+#endif
+
 static bool _has_console;
 
 #if defined(__MINGW32__) || defined(__CYGWIN__)