aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FileUtil.cpp2
-rw-r--r--src/main.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/FileUtil.cpp b/src/FileUtil.cpp
index d07a074..2a0b290 100644
--- a/src/FileUtil.cpp
+++ b/src/FileUtil.cpp
@@ -16,7 +16,7 @@
using namespace std;
-#if OS_TYPE != OS_TYPE_LINUX && OS_TYPE != OS_TYPE_APPLE && OS_TYPE != OS_TYPE_WINDOWS
+#if (OS_TYPE != OS_TYPE_LINUX && OS_TYPE != OS_TYPE_APPLE && OS_TYPE != OS_TYPE_WINDOWS) || defined(__CYGWIN__)
#define stat64 stat
#endif
diff --git a/src/main.cpp b/src/main.cpp
index 1265d3d..ab8cd59 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -101,6 +101,10 @@ using namespace std::chrono;
// TODO: If dependencies are using a version that is not within our dependency version range then ask the user if they still want to use the dependency (the closest matching dependency).
// Currently if dependency version does not match, build will always fail with no option to ignore version mismatch.
+// TODO: Move global lib dependencies into different directories depending on the target platform, because one system can be used
+// to build packages for the host platfrom and another platform by cross compilation. If cross compilation is used and a dependency is installed that is not compatible with the target platform then the dependency that fits the target platform wont be downloaded
+// since the dependency already exists locally (but for a different platform).
+
#if OS_FAMILY == OS_FAMILY_POSIX
#define fout std::cout
#define ferr std::cerr