diff options
author | tron <tron@openttd.org> | 2005-07-24 10:39:12 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-24 10:39:12 +0000 |
commit | 384b284846584cbfd5f696009236b5bae073ba17 (patch) | |
tree | 61fb69fd5a8be12854a9e6e70261de57f335d7ea | |
parent | 475d7fc0aec274a1d16893ecc248e40b61ea609f (diff) | |
download | openttd-384b284846584cbfd5f696009236b5bae073ba17.tar.xz |
(svn r2699) Hopefully fix the compilation on Windows when SDL is not present
-rw-r--r-- | win32.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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__) |