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 | c5bf9a6f808939a96ae7261c9aa2e178a47ae5e3 (patch) | |
tree | 61fb69fd5a8be12854a9e6e70261de57f335d7ea /win32.c | |
parent | ab59156e6147d86906ca79af2e89ac96e97c6afe (diff) | |
download | openttd-c5bf9a6f808939a96ae7261c9aa2e178a47ae5e3.tar.xz |
(svn r2699) Hopefully fix the compilation on Windows when SDL is not present
Diffstat (limited to 'win32.c')
-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__) |