diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2015-09-28 10:39:52 -0700 |
---|---|---|
committer | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2015-09-28 10:39:52 -0700 |
commit | f2eb040872a74818b144bf8bb28e8e17055f2923 (patch) | |
tree | d9deaf63dc7a9160710d1edbb2ec7ce42a9e07e5 /include | |
parent | 72d4593406c64f25c8efb0e26c48ea5110fa50d7 (diff) | |
parent | 2bc37297c8e0f268115b46604ed5f85371e5f679 (diff) |
Merge pull request #3544 from ctiller/backtrace-on-crash
Enable backtraces on C tests
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/support/port_platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h index 4373e88577..3157a902a4 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h @@ -124,6 +124,7 @@ #define GPR_GETPID_IN_UNISTD_H 1 #define GPR_HAVE_MSG_NOSIGNAL 1 #elif defined(__linux__) +#define GPR_POSIX_CRASH_HANDLER 1 #define GPR_PLATFORM_STRING "linux" #ifndef _BSD_SOURCE #define _BSD_SOURCE @@ -191,6 +192,7 @@ #define GPR_PLATFORM_STRING "osx" #define GPR_CPU_POSIX 1 #define GPR_GCC_TLS 1 +#define GPR_POSIX_CRASH_HANDLER 1 #endif #define GPR_GCC_ATOMIC 1 #define GPR_POSIX_LOG 1 |