summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-02-02 18:23:57 -0500
committerDwight <dmerriman@gmail.com>2009-02-02 18:23:57 -0500
commit86fa7463e92b290280f21e834b088edc303fa690 (patch)
tree3a40636faa402bc432b558ddf0bb781ce9a1a29a /stdafx.h
parentd1ba9dfb497031952f774c7972fdeea4d2992189 (diff)
parent84a10094d0317fce4572e2aa1adb219c7a621a70 (diff)
downloadmongo-86fa7463e92b290280f21e834b088edc303fa690.tar.gz
Merge branch 'master' of git.10gen.com:/data/gitroot/p
Conflicts: db/instance.cpp
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdafx.h b/stdafx.h
index c6a3669f85a..d09a3886705 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -241,6 +241,11 @@ namespace mongo {
#define null (0)
+ inline void rawOut( const string &s ) {
+ write( STDOUT_FILENO, s.c_str(), s.length() );
+ fsync( STDOUT_FILENO );
+ }
+
} // namespace mongo
#include <vector>