From 2955d1d01c78776d966d37bb78578c98fbfa6d83 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Mon, 26 Jan 2009 09:18:41 -0500 Subject: [PATCH] put mongo::exit back --- stdafx.cpp | 5 +++++ stdafx.h | 1 + 2 files changed, 6 insertions(+) diff --git a/stdafx.cpp b/stdafx.cpp index d7e86404962..8ffbd9b370e 100644 --- a/stdafx.cpp +++ b/stdafx.cpp @@ -102,4 +102,9 @@ namespace mongo { printStackTrace(); } + void exit( int status ){ + dbexit( status ); + } + + } // namespace mongo diff --git a/stdafx.h b/stdafx.h index 8e5448dcc87..7fa174c05c9 100644 --- a/stdafx.h +++ b/stdafx.h @@ -42,6 +42,7 @@ namespace mongo { void sayDbContext(const char *msg = 0); void dbexit(int returnCode, const char *whyMsg = ""); + void exit( int status ); inline void * ourmalloc(size_t size) { void *x = malloc(size);