summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/SDL_config_android.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/SDL_config_android.h b/include/SDL_config_android.h
index b53096bce..b7d79765f 100644
--- a/include/SDL_config_android.h
+++ b/include/SDL_config_android.h
@@ -133,7 +133,11 @@
#define HAVE_SYSCONF 1
#define HAVE_CLOCK_GETTIME 1
+#ifdef __LP64__
+#define SIZEOF_VOIDP 8
+#else
#define SIZEOF_VOIDP 4
+#endif
/* Enable various audio drivers */
#define SDL_AUDIO_DRIVER_ANDROID 1