summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOzkan Sezer <sezeroz@gmail.com>2020-12-30 01:28:02 +0300
committerOzkan Sezer <sezeroz@gmail.com>2020-12-30 01:28:02 +0300
commit0d5645745e46fda7de93d982ceec4d55aa70b73c (patch)
treed4318840d865162a83d0ab1d0b77733777a43f9f /include
parent1152773a4a8a9383ce5b68951a7706801fb170ec (diff)
downloadsdl-0d5645745e46fda7de93d982ceec4d55aa70b73c.tar.gz
SDL_config_android.h: update SIZEOF_VOIDP define to respect __LP64__
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