diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-07-11 22:50:09 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-07-12 00:01:03 +0200 |
commit | 717ea0eb7487417a2bef82bf38c17ad575c7f0e6 (patch) | |
tree | 2a48087cac80b69734d4c48bfca6073d76a5d1b4 /include/grpc/support/port_platform.h | |
parent | 4547d503d37ade45866688dae3ce291ec8a450bd (diff) |
Install simple Windows exception handlers.
Will prevent Windows tests to display a pop-up message in case of a failure. Essential for Jenkins testing.
Diffstat (limited to 'include/grpc/support/port_platform.h')
-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 d3cfee113d..a5d1b62702 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h @@ -82,6 +82,7 @@ #define GPR_WIN32_ATOMIC 1 #define GPR_MSVC_TLS 1 #endif +#define GPR_WINDOWS_CRASH_HANDLER 1 #elif defined(_WIN32) || defined(WIN32) #define GPR_ARCH_32 1 #define GPR_WIN32 1 @@ -94,6 +95,7 @@ #define GPR_WIN32_ATOMIC 1 #define GPR_MSVC_TLS 1 #endif +#define GPR_WINDOWS_CRASH_HANDLER 1 #elif defined(ANDROID) || defined(__ANDROID__) #define GPR_ANDROID 1 #define GPR_ARCH_32 1 |