diff options
author | tron <tron@openttd.org> | 2005-07-25 07:16:10 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-25 07:16:10 +0000 |
commit | 201990b5d9d28abb67314076f577190f7a39f3ae (patch) | |
tree | a82d96125e84eafe4fb9321c49e6f8a880e8c141 /video/sdl_v.c | |
parent | cb3c325e5f8bcb09f390ef7a1af0ef0442fe9462 (diff) | |
download | openttd-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 'video/sdl_v.c')
-rw-r--r-- | video/sdl_v.c | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/video/sdl_v.c b/video/sdl_v.c index 462b5d309..0ff082f17 100644 --- a/video/sdl_v.c +++ b/video/sdl_v.c @@ -1,17 +1,20 @@ /* $Id$ */ -#include "stdafx.h" -#include "openttd.h" -#include "debug.h" -#include "functions.h" -#include "gfx.h" -#include "macros.h" -#include "sdl.h" -#include "window.h" -#include "video/sdl_v.h" +#include "../stdafx.h" + +#ifdef WITH_SDL + +#include "../openttd.h" +#include "../debug.h" +#include "../functions.h" +#include "../gfx.h" +#include "../macros.h" +#include "../sdl.h" +#include "../window.h" +#include "../network.h" +#include "../variables.h" +#include "sdl_v.h" #include <SDL.h> -#include "network.h" -#include "variables.h" static SDL_Surface *_sdl_screen; static bool _all_modes; @@ -488,3 +491,5 @@ const HalVideoDriver _sdl_video_driver = { SdlVideoChangeRes, SdlVideoFullScreen, }; + +#endif |