diff options
author | 2016-02-12 12:23:51 -0800 | |
---|---|---|
committer | 2016-02-12 12:23:51 -0800 | |
commit | 017f84ead8fe1709ecd9a9f7f532464d2a170ff9 (patch) | |
tree | 47cbeba507ab0b27ca046f01232a7ef4e0d3b5f6 /include/grpc/impl/codegen/port_platform.h | |
parent | 5b026a4a4894b2b86a38b2d32c261490d1284434 (diff) | |
parent | f456b920994310ec9acb5be98f25a32edffcd2f3 (diff) |
Merge pull request #5078 from ctiller/compatibility_mode
Make binary compatibility not the default
Diffstat (limited to 'include/grpc/impl/codegen/port_platform.h')
-rw-r--r-- | include/grpc/impl/codegen/port_platform.h | 8 |
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 258063fd54..92569043fc 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 |