From 92edee232491e7854c6803cfe325665e48d338c2 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 30 Dec 2020 01:28:02 +0300 Subject: [PATCH] SDL_config_android.h: update SIZEOF_VOIDP define to respect __LP64__ --- include/SDL_config_android.h | 4 ++++ 1 file changed, 4 insertions(+) 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