diff options
author | Dwight <dwight@10gen.com> | 2010-08-17 12:25:39 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2010-08-17 12:25:39 -0400 |
commit | 635eb5c9d2b900fe201f2f728ea6cdef285829a1 (patch) | |
tree | 1aed9f810cfacc2b9913467bffcedcd7dd6fe20d /s/server.cpp | |
parent | 573e9682e3982d0ae54c3b635bb0b00077cc3cd2 (diff) | |
download | mongo-635eb5c9d2b900fe201f2f728ea6cdef285829a1.tar.gz |
compile vs2010
Diffstat (limited to 's/server.cpp')
-rw-r--r-- | s/server.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/s/server.cpp b/s/server.cpp index 3084fcb9640..5e2afa9db7f 100644 --- a/s/server.cpp +++ b/s/server.cpp @@ -120,11 +120,15 @@ namespace mongo { signal(SIGTERM, sighandler); signal(SIGINT, sighandler); +#if defined(SIGQUIT) signal( SIGQUIT , printStackAndExit ); +#endif signal( SIGSEGV , printStackAndExit ); signal( SIGABRT , printStackAndExit ); signal( SIGFPE , printStackAndExit ); +#if defined(SIGBUS) signal( SIGBUS , printStackAndExit ); +#endif } void init(){ |