summaryrefslogtreecommitdiff
path: root/src/port/sys_internal.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-11 21:55:26 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-11 21:55:26 +0100
commit758a20248659c61cf16351f2ce42e18e7da3858b (patch)
treef8222710488f1bd3f80391f185db7accb10089d6 /src/port/sys_internal.h
parent8331fcc4afc599c19c20be3c03acf9796cf5164e (diff)
downloadwolfbones-758a20248659c61cf16351f2ce42e18e7da3858b.tar.gz
wolfbones-758a20248659c61cf16351f2ce42e18e7da3858b.tar.bz2
moved autoconf flags for snprintf stub from sys.h to sys_internal.h
Diffstat (limited to 'src/port/sys_internal.h')
-rw-r--r--src/port/sys_internal.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h
index 659b1c7..f242bea 100644
--- a/src/port/sys_internal.h
+++ b/src/port/sys_internal.h
@@ -116,6 +116,27 @@
#if OS_MAJOR_VERSION == 5
#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 1
#define HAVE_PTHREADS
+/* for *printf substitutes */
+#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 && OS_MINOR_VERSON <= 1 */
@@ -127,6 +148,7 @@
#if defined _WIN32
#endif /* defined _WIN32 */
+/* FIXME: must be local where the warning happens, check again! */
#if defined __INTEL_COMPILER
#if( __INTEL_COMPILER >= 1100 )