diff options
author | Dwight <dmerriman@gmail.com> | 2010-04-27 15:27:52 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2010-04-27 15:27:52 -0400 |
commit | bd28578ab81c87f1b685237117bd0b5624773ccc (patch) | |
tree | 63e2b105a0d8a0d18ebc2f2f75f64c5a5f2527c6 /pch.cpp | |
parent | b95d9603a0b41cef870f5d8142921f235a1c0fad (diff) | |
download | mongo-bd28578ab81c87f1b685237117bd0b5624773ccc.tar.gz |
stdafx->pch
Diffstat (limited to 'pch.cpp')
-rw-r--r-- | pch.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pch.cpp b/pch.cpp new file mode 100644 index 00000000000..064efade7dd --- /dev/null +++ b/pch.cpp @@ -0,0 +1,37 @@ +// stdafx.cpp : source file that includes just the standard includes + +/* Copyright 2009 10gen Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "pch.h" + +#if defined( __MSVC__ ) +// should probably check VS version here +#elif defined( __GNUC__ ) + +#if __GNUC__ < 4 +#error gcc < 4 not supported +#endif + +#else +// unknown compiler +#endif + + +namespace mongo { + + const char versionString[] = "1.5.1-pre-"; + +} // namespace mongo |