Commit 92edee232491e7854c6803cfe325665e48d338c2

Ozkan Sezer 2020-12-30T01:28:02

SDL_config_android.h: update SIZEOF_VOIDP define to respect __LP64__

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/SDL_config_android.h b/include/SDL_config_android.h
index b53096b..b7d7976 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