summaryrefslogtreecommitdiff
path: root/src/video/windows/SDL_windowsevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/windows/SDL_windowsevents.c')
-rw-r--r--src/video/windows/SDL_windowsevents.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c
index cf382e0d..62bb92e4 100644
--- a/src/video/windows/SDL_windowsevents.c
+++ b/src/video/windows/SDL_windowsevents.c
@@ -18,9 +18,10 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
-
#include "SDL_config.h"
+#if SDL_VIDEO_DRIVER_WINDOWS
+
#include "SDL_windowsvideo.h"
#include "SDL_windowsshape.h"
#include "SDL_syswm.h"
@@ -694,4 +695,6 @@ SDL_UnregisterApp()
}
}
+#endif /* SDL_VIDEO_DRIVER_WINDOWS */
+
/* vi: set ts=4 sw=4 expandtab: */