summaryrefslogtreecommitdiff
path: root/src/video/windows/SDL_windowsvideo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/windows/SDL_windowsvideo.c')
-rw-r--r--src/video/windows/SDL_windowsvideo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video/windows/SDL_windowsvideo.c b/src/video/windows/SDL_windowsvideo.c
index a1495493..c90e9195 100644
--- a/src/video/windows/SDL_windowsvideo.c
+++ b/src/video/windows/SDL_windowsvideo.c
@@ -20,6 +20,8 @@
*/
#include "SDL_config.h"
+#if SDL_VIDEO_DRIVER_WINDOWS
+
#include "SDL_main.h"
#include "SDL_video.h"
#include "SDL_mouse.h"
@@ -186,4 +188,6 @@ WIN_VideoQuit(_THIS)
WIN_QuitMouse(_this);
}
+#endif /* SDL_VIDEO_DRIVER_WINDOWS */
+
/* vim: set ts=4 sw=4 expandtab: */