aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-02-04 15:06:41 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-02-04 15:06:41 -0800
commit71ea4a19550d96c4b4dfee0f56d45d5627e45672 (patch)
tree4a23cf93691ea3e525e90a9e1eaff7bffa75dacd /include
parente4fdcd924263edca885b22122e9e7cf148c236fd (diff)
Make binary compatibility not the default
Diffstat (limited to 'include')
-rw-r--r--include/grpc/impl/codegen/port_platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index d265e9b392..3b2ebc30e8 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -34,6 +34,14 @@
#ifndef GRPC_IMPL_CODEGEN_PORT_PLATFORM_H
#define GRPC_IMPL_CODEGEN_PORT_PLATFORM_H
+/*
+ * Define GPR_BACKWARDS_COMPATIBILITY_MODE to try harder to be ABI
+ * compatible with older platforms (currently only on Linux)
+ * Causes:
+ * - some libc calls to be gotten via dlsym
+ * - some syscalls to be made directly
+ */
+
/* Get windows.h included everywhere (we need it) */
#if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32)
#ifndef WIN32_LEAN_AND_MEAN