aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/env.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/env.hpp b/include/env.hpp
index 9cdaf9d..72b7828 100644
--- a/include/env.hpp
+++ b/include/env.hpp
@@ -7,7 +7,7 @@
#define OS_TYPE_WINDOWS 0
#define OS_TYPE_LINUX 1
#define OS_TYPE_APPLE 2
-#define OS_TYPE_OPENBSD 2
+#define OS_TYPE_OPENBSD 3
#define OS_TYPE_HAIKU 10
#if defined(_WIN32) || defined(_WIN64)
@@ -54,6 +54,11 @@
#define OS_TYPE OS_TYPE_HAIKU
#endif
+#ifdef __CYGWIN__
+ #define OS_FAMILY OS_FAMILY_POSIX
+ #define OS_TYPE OS_TYPE_LINUX
+#endif
+
#if defined(__GNUC__)
#if defined(__x86_64__) || defined(__pc64__)
#define SIBS_ENV_64BIT