summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-15 11:46:18 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-15 11:46:49 (GMT)
commit50b6f33dbcb76f44de6294ad79e7d3002c69aa51 (patch)
tree46acefb2ef0eb818b766eddb6c6d0fbe001701e6
parentc05653e18c2baca1abe9d01a06810d997d13f337 (diff)
downloadCMake-50b6f33dbcb76f44de6294ad79e7d3002c69aa51.zip
CMake-50b6f33dbcb76f44de6294ad79e7d3002c69aa51.tar.gz
CMake-50b6f33dbcb76f44de6294ad79e7d3002c69aa51.tar.bz2
Ninja: build cmcldeps with mingw
-rw-r--r--Source/cmGlobalNinjaGenerator.h2
-rw-r--r--Source/cmcldeps.cxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 56c5ca4..e939f61 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -317,7 +317,7 @@ private:
ASD.insert(deps.begin(), deps.end());
}
- std::string cmGlobalNinjaGenerator::ninjaCmd() const;
+ std::string ninjaCmd() const;
private:
/// The file containing the build statement. (the relation ship of the
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx
index 1d69608..1eadf61 100644
--- a/Source/cmcldeps.cxx
+++ b/Source/cmcldeps.cxx
@@ -22,6 +22,8 @@
#include <string>
#include <vector>
#include <queue>
+#include <cstdio>
+
using namespace std;
#ifdef _WIN32