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.h28
1 files changed, 25 insertions, 3 deletions
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h
index ae82af8..b937e40 100644
--- a/include/wolf/port/sys.h
+++ b/include/wolf/port/sys.h
@@ -157,7 +157,7 @@
#if defined OPENBSD
#if OS_MAJOR_VERSION == 4
-#if OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 7
+#if OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 9
#define _XOPEN_SOURCE 600
#define HAVE_STDBOOL_H
#define HAVE_STDINT_H
@@ -177,10 +177,32 @@
#define HAVE_PTHREADS
#else
#error unknown platform
-#endif /* defined OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 7 */
+#endif /* OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 9 */
#else
+#if OS_MAJOR_VERSION == 5
+#else
#error unknown platform
-#endif /* defined OS_MAJOR_VERSION == 4 */
+#endif /* OS_MAJOR_VERSION == 5 */
+#if OS_MINOR_VERSION == 0
+#define _XOPEN_SOURCE 600
+#define HAVE_STDBOOL_H
+#define HAVE_STDINT_H
+#define HAVE_VSNPRINTF
+#define HAVE_SNPRINTF
+#define HAVE_VASPRINTF
+#define HAVE_ASPRINTF
+#define HAVE_STRDUP
+#define HAVE_STRERROR_R
+#define HAVE_SYSLOG_H
+#define HAVE_STRLCPY
+#define MUST_DEFINE_STRLCPY_PROTOTYPE
+#define HAVE_STRLCAT
+#define MUST_DEFINE_STRLCAT_PROTOTYPE
+#define HAVE_GETADDRINFO
+#define HAVE_IPV6
+#define HAVE_PTHREADS
+#endif /* OS_MINOR_VERSION == 0 */
+#endif /* OS_MAJOR_VERSION == 4 */
#endif /* defined OPENBSD */
#if defined NETBSD