projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dcc41c
)
Don't try to install the failure signal handler in folly::init on Windows
author
Christopher Dykes
<cdykes@fb.com>
Wed, 9 Nov 2016 23:13:35 +0000
(15:13 -0800)
committer
Facebook Github Bot
<facebook-github-bot-bot@fb.com>
Wed, 9 Nov 2016 23:23:36 +0000
(15:23 -0800)
Summary: Because GTest doesn't support it on platforms that don't implement `sigaction`.
Reviewed By: yfeldblum
Differential Revision:
D4155882
fbshipit-source-id:
fe8df316242b293afaf94c2a5d0f8a5e60b51285
folly/init/Init.cpp
patch
|
blob
|
history
diff --git
a/folly/init/Init.cpp
b/folly/init/Init.cpp
index ff53dd2999feff036ef04eb569e0fb664b94e3ad..77bee6846b95b4be769f3277e0a2b9872ea1495b 100644
(file)
--- a/
folly/init/Init.cpp
+++ b/
folly/init/Init.cpp
@@
-35,7
+35,7
@@
void init(int* argc, char*** argv, bool removeFlags) {
// Install the handler now, to trap errors received during startup.
// The callbacks, if any, can be installed later
folly::symbolizer::installFatalSignalHandler();
-#el
se
+#el
if !defined(_WIN32)
google::InstallFailureSignalHandler();
#endif