summaryrefslogtreecommitdiff
path: root/src/port/sys_internal.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-04-05 12:40:12 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-04-05 12:40:12 +0200
commitb74581f8bbd2b6576caeab7af7b95242646dd7cc (patch)
tree4a8d7cf7d3c8312eec6644230fde030ba4c218bb /src/port/sys_internal.h
parentd70ae202e02dea09c7506d78c5b4ccb4de43d107 (diff)
downloadwolfbones-b74581f8bbd2b6576caeab7af7b95242646dd7cc.tar.gz
wolfbones-b74581f8bbd2b6576caeab7af7b95242646dd7cc.tar.bz2
snprintf stub for Solaris 8, z size_t modifier doesn't work
Diffstat (limited to 'src/port/sys_internal.h')
-rw-r--r--src/port/sys_internal.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h
index cd14be4..340ecd8 100644
--- a/src/port/sys_internal.h
+++ b/src/port/sys_internal.h
@@ -92,6 +92,27 @@
#if OS_MINOR_VERSION == 8
#define HAVE_LOCK_F
#define HAVE_LOCALTIME_R
+/* for *printf substitutes */
+#define TEST_SNPRINTF 0
+#define HAVE_STDARG_H 1
+#define HAVE_STDDEF_H 0
+#define HAVE_STDINT_H 0
+#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
#if OS_MINOR_VERSION == 10
#define HAVE_LOCK_F