aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-06-15 15:27:57 -0700
committerGravatar GitHub <noreply@github.com>2016-06-15 15:27:57 -0700
commitfa9b7c1bc6488be17d18007f45c57dac39ea5b79 (patch)
tree065a480dc0e550843c510e8e3c539009ba644c43 /include
parent2e67fee53d19b335b02defa7c017f763e11a0cd1 (diff)
parentcb2125577c3ab81aab3554221dc9171904ac231e (diff)
Merge pull request #6334 from tberghammer/android-64bit
Add 64bit Android support
Diffstat (limited to 'include')
-rw-r--r--include/grpc/impl/codegen/port_platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index 9640ab6008..b8aa199aa8 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -150,7 +150,11 @@
#elif defined(ANDROID) || defined(__ANDROID__)
#define GPR_PLATFORM_STRING "android"
#define GPR_ANDROID 1
+#ifdef _LP64
+#define GPR_ARCH_64 1
+#else /* _LP64 */
#define GPR_ARCH_32 1
+#endif /* _LP64 */
#define GPR_CPU_LINUX 1
#define GPR_GCC_SYNC 1
#define GPR_GCC_TLS 1