summaryrefslogtreecommitdiff
path: root/src/video/android/SDL_androidevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/android/SDL_androidevents.c')
-rw-r--r--src/video/android/SDL_androidevents.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video/android/SDL_androidevents.c b/src/video/android/SDL_androidevents.c
index 6145cd0c..ec20b9b8 100644
--- a/src/video/android/SDL_androidevents.c
+++ b/src/video/android/SDL_androidevents.c
@@ -20,6 +20,8 @@
*/
#include "SDL_config.h"
+#if SDL_VIDEO_DRIVER_ANDROID
+
#include "SDL_androidevents.h"
void
@@ -28,4 +30,6 @@ Android_PumpEvents(_THIS)
/* No polling necessary */
}
+#endif /* SDL_VIDEO_DRIVER_ANDROID */
+
/* vi: set ts=4 sw=4 expandtab: */