summaryrefslogtreecommitdiffstats
path: root/libasprintf
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-10-29 21:50:17 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:08:49 +0200
commitb1c9c30ebac4f2e67dbd33eb7e70f04e56769c26 (patch)
tree18cb4ed50d0c1955bbe65acb3cbdd8d1ad48a541 /libasprintf
parenteed3a1cd8a143c2af738ba21fb3e9073ecca3e04 (diff)
downloadexternal_gettext-b1c9c30ebac4f2e67dbd33eb7e70f04e56769c26.zip
external_gettext-b1c9c30ebac4f2e67dbd33eb7e70f04e56769c26.tar.gz
external_gettext-b1c9c30ebac4f2e67dbd33eb7e70f04e56769c26.tar.bz2
Tweak for SunPRO C.
Diffstat (limited to 'libasprintf')
-rw-r--r--libasprintf/printf-args.h2
-rw-r--r--libasprintf/vasnprintf.h2
-rw-r--r--libasprintf/vasprintf.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/libasprintf/printf-args.h b/libasprintf/printf-args.h
index cc0d321..55c8191 100644
--- a/libasprintf/printf-args.h
+++ b/libasprintf/printf-args.h
@@ -25,7 +25,7 @@
#endif
/* Get va_list. */
-#if __STDC__ || defined __cplusplus
+#if __STDC__ || defined __SUNPRO_C || defined __cplusplus
# include <stdarg.h>
#else
# include <varargs.h>
diff --git a/libasprintf/vasnprintf.h b/libasprintf/vasnprintf.h
index 6b68934..903e7bc 100644
--- a/libasprintf/vasnprintf.h
+++ b/libasprintf/vasnprintf.h
@@ -28,7 +28,7 @@
#endif
/* Get va_list. */
-#if __STDC__ || defined __cplusplus
+#if __STDC__ || defined __SUNPRO_C || defined __cplusplus
# include <stdarg.h>
#else
# include <varargs.h>
diff --git a/libasprintf/vasprintf.h b/libasprintf/vasprintf.h
index b99e629..3143419 100644
--- a/libasprintf/vasprintf.h
+++ b/libasprintf/vasprintf.h
@@ -28,7 +28,7 @@
#endif
/* Get va_list. */
-#if __STDC__ || defined __cplusplus
+#if __STDC__ || defined __SUNPRO_C || defined __cplusplus
# include <stdarg.h>
#else
# include <varargs.h>