aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-28 10:08:21 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-28 10:08:21 -0700
commit2bc37297c8e0f268115b46604ed5f85371e5f679 (patch)
treeaa5f8c7da9026a308ae5ae82b92b8e43037d2193 /include
parentd4509a16b38dc6e4a0dacbdad074accfe7894696 (diff)
Enable backtraces on C tests
Diffstat (limited to 'include')
-rw-r--r--include/grpc/support/port_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h
index 93291a174d..0798b6eb09 100644
--- a/include/grpc/support/port_platform.h
+++ b/include/grpc/support/port_platform.h
@@ -121,6 +121,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
@@ -188,6 +189,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