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.h29
1 files changed, 26 insertions, 3 deletions
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h
index f13ca19..675e097 100644
--- a/include/wolf/port/sys.h
+++ b/include/wolf/port/sys.h
@@ -82,11 +82,12 @@
#define _XOPEN_SOURCE 600
#define __EXTENSIONS__
#endif
+/* TODO: check this, I don't think Solaris 8 has a working
+ * snprintf! */
#define HAVE_SNPRINTF
#define HAVE_VSNPRINTF
#define HAVE_LOCKF
#define HAVE_ENUM_BOOL
-#define HAVE_LINK_H
#else
#if OS_MINOR_VERSION == 10
#if !defined __cplusplus
@@ -110,12 +111,34 @@
#if defined CYGWIN
#if OS_MAJOR_VERSION == 5
-#if OS_MINOR_VERSION == 0
+#if OS_MINOR_VERSION == 1
#define _XOPEN_SOURCE 600
#define HAVE_ENUM_BOOL
+/* for *printf substitutes */
+#define HAVE_CONFIG_H 0
+#define TEST_SNPRINTF 0
+#define HAVE_STDARG_H 1
+#define HAVE_STDDEF_H 0
+#define HAVE_STDINT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_LOCALE_H 1
+#define HAVE_LOCALECONV 1
+#define HAVE_LCONV_DECIMAL_POINT 1
+#define HAVE_LCONV_THOUSANDS_SEP 1
+#define HAVE_LONG_DOUBLE 1
+#define HAVE_LONG_LONG_INT 1
+#define HAVE_UNSIGNED_LONG_LONG_INT 1
+#define HAVE_INTMAX_T 1
+#define HAVE_UINTMAX_T 1
+#define HAVE_UINTPTR_T 1
+#define HAVE_PTRDIFF_T 1
+#define HAVE_VA_COPY 0
+#define HAVE___VA_COPY 0
#else
#error unknown platform
-#endif /* OS_MINOR_VERSION == 0 */
+#endif /* OS_MINOR_VERSION == 1 */
#else
#error unknown platform
#endif /* OS_MAJOR_VERSION == 5 */