SDL_config_android.h: update SIZEOF_VOIDP define to respect __LP64__

This commit is contained in:
Ozkan Sezer 2020-12-30 01:28:02 +03:00
parent 7c105f12d5
commit 92edee2324
1 changed files with 4 additions and 0 deletions

View File

@ -133,7 +133,11 @@
#define HAVE_SYSCONF 1 #define HAVE_SYSCONF 1
#define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_GETTIME 1
#ifdef __LP64__
#define SIZEOF_VOIDP 8
#else
#define SIZEOF_VOIDP 4 #define SIZEOF_VOIDP 4
#endif
/* Enable various audio drivers */ /* Enable various audio drivers */
#define SDL_AUDIO_DRIVER_ANDROID 1 #define SDL_AUDIO_DRIVER_ANDROID 1