summaryrefslogtreecommitdiffstats
path: root/Source/cmcldeps.cxx
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-18 11:39:29 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-18 11:39:29 (GMT)
commiteb410e8dd8f4d1401d11713f398d38e0f250b136 (patch)
tree548df4567f89347b7e765cd44bb9038ef96d0598 /Source/cmcldeps.cxx
parent5ead31da6341eb5a410f9f5b7b65cd5dcd8f0eae (diff)
downloadCMake-eb410e8dd8f4d1401d11713f398d38e0f250b136.zip
CMake-eb410e8dd8f4d1401d11713f398d38e0f250b136.tar.gz
CMake-eb410e8dd8f4d1401d11713f398d38e0f250b136.tar.bz2
Ninja: disable cldeps for bcc32, it's too old, and ninja would also not build
Diffstat (limited to 'Source/cmcldeps.cxx')
-rw-r--r--Source/cmcldeps.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx
index 374ee10..7d3c4bd 100644
--- a/Source/cmcldeps.cxx
+++ b/Source/cmcldeps.cxx
@@ -33,9 +33,6 @@
#endif
-// bcc32 only finds remove(const char*)
-namespace stlport { }
-
#if defined(_WIN64)
typedef unsigned __int64 cmULONG_PTR;
#else
@@ -433,10 +430,8 @@ bool SubprocessSet::DoWork() {
subproc->OnPipeReady();
if (subproc->Done()) {
- using namespace std;
- using namespace stlport;
std::vector<Subprocess*>::iterator end =
- remove(running_.begin(), running_.end(), subproc);
+ std::remove(running_.begin(), running_.end(), subproc);
if (running_.end() != end) {
finished_.push(subproc);
running_.resize(end - running_.begin());