summaryrefslogtreecommitdiff
path: root/include/wolf/port/sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wolf/port/sys.h')
-rw-r--r--include/wolf/port/sys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h
index b937e40..c75d1c1 100644
--- a/include/wolf/port/sys.h
+++ b/include/wolf/port/sys.h
@@ -81,7 +81,7 @@
#if defined FREEBSD
#if OS_MAJOR_VERSION == 8
-#if OS_MINOR_VERSION == 0
+#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <=2
#define _XOPEN_SOURCE 600
#define HAVE_STDBOOL_H
#define HAVE_STDINT_H
@@ -101,7 +101,7 @@
#define HAVE_PTHREADS
#else
#error unknown platform
-#endif /* defined OS_MINOR_VERSION == 0 */
+#endif /* defined OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <=2 */
#else
#if OS_MAJOR_VERSION == 7
#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 2