summaryrefslogtreecommitdiff
path: root/src/video/nds/SDL_ndswindow.c
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-10-31 05:56:58 -0400
committerSam Lantinga <slouken@libsdl.org>2011-10-31 05:56:58 -0400
commit07b4a2ffe6a33667d09fbe4693d4c977b2f3d100 (patch)
tree0c97c27488f1b550ada2af5270b321833378a7ac /src/video/nds/SDL_ndswindow.c
parente19a2fbe61685250e0db0d972253250cc85c4809 (diff)
Lots of fixes importing SDL source wholesale into a new iOS project
--HG-- rename : src/libm/math.h => src/libm/math_libm.h
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: */