summaryrefslogtreecommitdiff
path: root/stdafx.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-03-17 10:22:26 -0400
committerEliot Horowitz <eliot@10gen.com>2009-03-17 10:22:26 -0400
commit5cd0f0e376ad4645f0741427cf50306ae80374ff (patch)
tree1fa4abb0bfe6ab9071fa49ef0aaa04e1fae56499 /stdafx.cpp
parent3a1c70f6621faeaadad21ed3809d1f303f1e0061 (diff)
downloadmongo-5cd0f0e376ad4645f0741427cf50306ae80374ff.tar.gz
get version on startup
Diffstat (limited to 'stdafx.cpp')
-rw-r--r--stdafx.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/stdafx.cpp b/stdafx.cpp
index 3b1360931b5..9686a90a13a 100644
--- a/stdafx.cpp
+++ b/stdafx.cpp
@@ -120,6 +120,10 @@ namespace mongo {
fsync( STDOUT_FILENO );
#endif
}
-
+
+#ifndef _SCONS
+ // only works in scons
+ void printGitVersion(){}
+#endif
} // namespace mongo