diff options
author | Tad Marshall <tad@10gen.com> | 2012-08-06 21:00:02 -0400 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2012-08-06 21:00:02 -0400 |
commit | d3c5e9d22cd50dcca6c39d6953f590d18fd5ef7f (patch) | |
tree | e8473c69c1efa8d6bb08f96754945fe190abee73 | |
parent | d4e7fba488bc86f7f3c98523589fc09d7c88b65f (diff) | |
download | mongo-d3c5e9d22cd50dcca6c39d6953f590d18fd5ef7f.tar.gz |
Compile when SIGPIPE is not defined
-rw-r--r-- | src/mongo/s/server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp index 4d2fb61f360..a1d0673ca3c 100644 --- a/src/mongo/s/server.cpp +++ b/src/mongo/s/server.cpp @@ -158,7 +158,9 @@ namespace mongo { #if defined(SIGBUS) signal( SIGBUS , printStackAndExit ); #endif +#if defined(SIGPIPE) signal( SIGPIPE , SIG_IGN ); +#endif set_new_handler( my_new_handler ); } |