diff options
author | Tad Marshall <tad@10gen.com> | 2012-08-06 21:00:02 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-10-16 09:37:19 -0400 |
commit | 6d021c86d38a1b117fa5f25fd0f6a3e82bd18f35 (patch) | |
tree | bac100f551278fead961381026ed59bb1deab0da | |
parent | 7577f95c80f8f22b7a3c61f0683ee120f6fb1e59 (diff) | |
download | mongo-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.cpp | 2 |
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() { |