summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2010-04-23 18:48:20 -0400
committerDwight <dmerriman@gmail.com>2010-04-23 18:48:20 -0400
commit4b77d7fc780ac49a573c71fbec173c71698016c5 (patch)
tree3cc56c69ea49eac777ee0f74c50a7500d50a3d0f /util
parent52fe13e41a71309749333aa5026f6b442f15b9ef (diff)
downloadmongo-4b77d7fc780ac49a573c71fbec173c71698016c5.tar.gz
allow a chaining style with BSONObjBuilder appends
Diffstat (limited to 'util')
-rw-r--r--util/util.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/util/util.cpp b/util/util.cpp
index af1a684835a..16c168c59a6 100644
--- a/util/util.cpp
+++ b/util/util.cpp
@@ -121,9 +121,12 @@ namespace mongo {
#ifndef _SCONS
// only works in scons
- const char * gitVersion(){ return "!scons"; }
+ const char * gitVersion(){ return "not-scons"; }
#if defined(_WIN32)
- const char * sysInfo(){ return "!scons WIN"; }
+ const char * sysInfo(){
+ if( sizeof(char *) == 8 ) return "not-scons windows 64bit";
+ return "not-scons windows 32bit";
+ }
#else
const char * sysInfo(){ return ""; }
#endif