diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-05-28 22:14:26 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-05-28 22:14:26 -0400 |
commit | f30eae51cef4fc8a4a5803daac50a57b81a26e00 (patch) | |
tree | 0abc2f1dcf586f084b1aa88e6f1f31cc4eec6f13 | |
parent | 67e827bfcf54434296b186af07a26799ce298eff (diff) | |
download | mongo-f30eae51cef4fc8a4a5803daac50a57b81a26e00.tar.gz |
move version string to .cpp so changing doesn't require recompile MINOR
-rw-r--r-- | stdafx.cpp | 2 | ||||
-rw-r--r-- | stdafx.h | 2 |
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 @@ -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; |