summaryrefslogtreecommitdiff
path: root/src/video/nds/SDL_ndswindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/nds/SDL_ndswindow.c')
-rw-r--r--src/video/nds/SDL_ndswindow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video/nds/SDL_ndswindow.c b/src/video/nds/SDL_ndswindow.c
index 16589cf8..f374a1c0 100644
--- a/src/video/nds/SDL_ndswindow.c
+++ b/src/video/nds/SDL_ndswindow.c
@@ -20,6 +20,8 @@
*/
#include "SDL_config.h"
+#if SDL_VIDEO_DRIVER_NDS
+
#include "SDL_ndsvideo.h"
@@ -30,4 +32,6 @@ int NDS_CreateWindow(_THIS, SDL_Window * window)
return 0;
}
+#endif /* SDL_VIDEO_DRIVER_NDS */
+
/* vi: set ts=4 sw=4 expandtab: */