aboutsummaryrefslogtreecommitdiff
path: root/include/PkgConfig.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-30 05:33:25 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-30 05:33:25 +0100
commit7c215c39d530f01235043a131d64d4c7f766e9ab (patch)
treed72effe043a46566e34276525081637cad1bb7a0 /include/PkgConfig.hpp
parentabab2184ade33097f3441f8cdd95dd27c5653930 (diff)
parent98ad7dd049a366e21d60a34548736a3c8ef72877 (diff)
Merge release_0.1.0 to master
Add support for windows
Diffstat (limited to 'include/PkgConfig.hpp')
-rw-r--r--include/PkgConfig.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/PkgConfig.hpp b/include/PkgConfig.hpp
index 2af4ac9..da78b91 100644
--- a/include/PkgConfig.hpp
+++ b/include/PkgConfig.hpp
@@ -1,6 +1,8 @@
#ifndef SIBS_PKGCONFIG_HPP
#define SIBS_PKGCONFIG_HPP
+#include "env.hpp"
+#if OS_FAMILY == OS_FAMILY_POSIX
#include "Result.hpp"
#include "Dependency.hpp"
#include <string>
@@ -16,5 +18,6 @@ namespace sibs
static Result<std::string> getDynamicLibsLinkerFlags(const std::vector<Dependency> &libs);
};
}
+#endif // OS_FAMILY_POSIX
-#endif //SIBS_PKGCONFIG_HPP
+#endif // SIBS_PKGCONFIG_HPP