summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2012-08-06 21:00:02 -0400
committerEric Milkie <milkie@10gen.com>2012-10-16 09:37:19 -0400
commit6d021c86d38a1b117fa5f25fd0f6a3e82bd18f35 (patch)
treebac100f551278fead961381026ed59bb1deab0da
parent7577f95c80f8f22b7a3c61f0683ee120f6fb1e59 (diff)
downloadmongo-6d021c86d38a1b117fa5f25fd0f6a3e82bd18f35.tar.gz
Compile when SIGPIPE is not defined
Conflicts: s/server.cpp Signed-off-by: Eric Milkie <milkie@10gen.com>
-rw-r--r--s/server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/s/server.cpp b/s/server.cpp
index b9b1a698ab4..545f5ba2281 100644
--- a/s/server.cpp
+++ b/s/server.cpp
@@ -142,7 +142,9 @@ namespace mongo {
#if defined(SIGBUS)
signal( SIGBUS , printStackAndExit );
#endif
+#if defined(SIGPIPE)
signal( SIGPIPE , SIG_IGN );
+#endif
}
void init() {