aboutsummaryrefslogtreecommitdiff
path: root/src/PkgConfig.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-30 04:32:49 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-30 05:08:10 +0100
commit98ad7dd049a366e21d60a34548736a3c8ef72877 (patch)
tree45e34eb02f6be9f9130a870a19ef1533e24bf343 /src/PkgConfig.cpp
parent1f583ebb6e3973c992d59886659bf53ff87f41de (diff)
Add support for windows (ugly fast solution)
Diffstat (limited to 'src/PkgConfig.cpp')
-rw-r--r--src/PkgConfig.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/PkgConfig.cpp b/src/PkgConfig.cpp
index 620b1a7..a66d5b3 100644
--- a/src/PkgConfig.cpp
+++ b/src/PkgConfig.cpp
@@ -1,4 +1,5 @@
#include "../include/PkgConfig.hpp"
+#if OS_FAMILY == OS_FAMILY_POSIX
#include "../include/Exec.hpp"
using namespace std;
@@ -127,4 +128,5 @@ namespace sibs
return Result<string>::Err(errMsg);
}
}
-} \ No newline at end of file
+}
+#endif // OS_FAMILY_POSIX