summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-05-28 22:14:26 -0400
committerEliot Horowitz <eliot@10gen.com>2009-05-28 22:14:26 -0400
commitf30eae51cef4fc8a4a5803daac50a57b81a26e00 (patch)
tree0abc2f1dcf586f084b1aa88e6f1f31cc4eec6f13
parent67e827bfcf54434296b186af07a26799ce298eff (diff)
downloadmongo-f30eae51cef4fc8a4a5803daac50a57b81a26e00.tar.gz
move version string to .cpp so changing doesn't require recompile MINOR
-rw-r--r--stdafx.cpp2
-rw-r--r--stdafx.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/stdafx.cpp b/stdafx.cpp
index aae9144b23a..24c295224ef 100644
--- a/stdafx.cpp
+++ b/stdafx.cpp
@@ -22,6 +22,8 @@
namespace mongo {
+ const char versionString[] = "0.9.2+";
+
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
diff --git a/stdafx.h b/stdafx.h
index 8e7ee8a3623..026d0b9fa11 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -31,7 +31,7 @@ namespace mongo {
const bool debug=false;
#endif
- const char versionString[] = "0.9.2+";
+ extern const char versionString[];
// pdfile versions
const int VERSION = 4;
const int VERSION_MINOR = 4;