diff options
author | 2016-02-04 15:06:41 -0800 | |
---|---|---|
committer | 2016-02-04 15:06:41 -0800 | |
commit | 71ea4a19550d96c4b4dfee0f56d45d5627e45672 (patch) | |
tree | 4a23cf93691ea3e525e90a9e1eaff7bffa75dacd /include | |
parent | e4fdcd924263edca885b22122e9e7cf148c236fd (diff) |
Make binary compatibility not the default
Diffstat (limited to 'include')
-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 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 |