summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-01-03 18:38:31 -0500
committerAndrew Morrow <acm@mongodb.com>2015-01-05 18:27:01 -0500
commit8ef3942451da35353b7f164d190d7185799fa381 (patch)
tree7569bfc7c689b7d5b1997a1b108ffa28c1767dc0 /src/mongo
parentc43d8e0aa47f868a8b3cd7367d2f21c717e2ca3c (diff)
downloadmongo-8ef3942451da35353b7f164d190d7185799fa381.tar.gz
SERVER-13256 Remove useless pch.cpp
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/SConscript3
-rw-r--r--src/mongo/pch.cpp45
2 files changed, 1 insertions, 47 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript
index 7bd73618274..b3b30081e19 100644
--- a/src/mongo/SConscript
+++ b/src/mongo/SConscript
@@ -332,8 +332,7 @@ env.Library('version',
'bson',
'$BUILD_DIR/mongo/base/base'
])
-commonFiles = [ "pch.cpp",
- "db/namespace_string.cpp",
+commonFiles = [ "db/namespace_string.cpp",
"shell/mongo.cpp",
"util/intrusive_counter.cpp",
"util/file_allocator.cpp",
diff --git a/src/mongo/pch.cpp b/src/mongo/pch.cpp
deleted file mode 100644
index 3a55f8dfb42..00000000000
--- a/src/mongo/pch.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-// pch.cpp : helper for using precompiled headers
-
-/* Copyright 2009 10gen Inc.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * As a special exception, the copyright holders give permission to link the
- * code of portions of this program with the OpenSSL library under certain
- * conditions as described in each individual source file and distribute
- * linked combinations including the program with the OpenSSL library. You
- * must comply with the GNU Affero General Public License in all respects
- * for all of the code used other than as permitted herein. If you modify
- * file(s) with this exception, you may extend this exception to your
- * version of the file(s), but you are not obligated to do so. If you do not
- * wish to do so, delete this exception statement from your version. If you
- * delete this exception statement from all source files in the program,
- * then also delete it in the license file.
- */
-
-#define MONGO_PCH_WHITELISTED
-#include "mongo/platform/basic.h"
-#include "mongo/pch.h"
-#undef MONGO_PCH_WHITELISTED
-
-#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