Skip to content
Snippets Groups Projects
Commit cb212557 authored by Tamas Berghammer's avatar Tamas Berghammer
Browse files

Add 64bit Android support

Since Android Lollipop (5.0) Android has 64bit support. This config
change is needed to support these configurations. The code have been
tested with AArch64 and no other changes needed to get the helloworld
example working.
parent e107f8e6
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,11 @@ ...@@ -117,7 +117,11 @@
#elif defined(ANDROID) || defined(__ANDROID__) #elif defined(ANDROID) || defined(__ANDROID__)
#define GPR_PLATFORM_STRING "android" #define GPR_PLATFORM_STRING "android"
#define GPR_ANDROID 1 #define GPR_ANDROID 1
#ifdef _LP64
#define GPR_ARCH_64 1
#else /* _LP64 */
#define GPR_ARCH_32 1 #define GPR_ARCH_32 1
#endif /* _LP64 */
#define GPR_CPU_LINUX 1 #define GPR_CPU_LINUX 1
#define GPR_GCC_SYNC 1 #define GPR_GCC_SYNC 1
#define GPR_GCC_TLS 1 #define GPR_GCC_TLS 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment