aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/fixincludes/tests/base/sys/va_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.7/fixincludes/tests/base/sys/va_list.h')
-rw-r--r--gcc-4.7/fixincludes/tests/base/sys/va_list.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc-4.7/fixincludes/tests/base/sys/va_list.h b/gcc-4.7/fixincludes/tests/base/sys/va_list.h
new file mode 100644
index 000000000..8c69e2d57
--- /dev/null
+++ b/gcc-4.7/fixincludes/tests/base/sys/va_list.h
@@ -0,0 +1,22 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/sys/va_list.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( SOLARIS_SYS_VA_LIST_CHECK )
+#ifdef __GNUC__
+typedef __builtin_va_list __va_list;
+#else
+#if defined(__STDC__) && !defined(__ia64)
+typedef void *__va_list;
+#else
+typedef char *__va_list;
+#endif
+#endif
+#endif /* SOLARIS_SYS_VA_LIST_CHECK */