summaryrefslogtreecommitdiffstats
path: root/source/lib/slprintf.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-07-29 03:08:05 +0000
committerAndrew Tridgell <tridge@samba.org>1998-07-29 03:08:05 +0000
commit3bda7ac417107a7b01d91805ca71c4330657ed21 (patch)
tree0fb2fb0cbd2df1b77ea814ba30e2bb1f8a1d999f /source/lib/slprintf.c
parent7b3a9d6285cc0d1967155a68845e28c6296ecc67 (diff)
downloadsamba-3bda7ac417107a7b01d91805ca71c4330657ed21.tar.gz
samba-3bda7ac417107a7b01d91805ca71c4330657ed21.tar.xz
samba-3bda7ac417107a7b01d91805ca71c4330657ed21.zip
merge from the autoconf2 branch to the main branch
Diffstat (limited to 'source/lib/slprintf.c')
-rw-r--r--source/lib/slprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/slprintf.c b/source/lib/slprintf.c
index 4de7b10f4fe..acdcfee38fd 100644
--- a/source/lib/slprintf.c
+++ b/source/lib/slprintf.c
@@ -83,7 +83,7 @@ int vslprintf(char *str, int n, char *format, va_list ap)
#endif
}
-#ifdef __STDC__
+#ifdef HAVE_STDARG_H
int slprintf(char *str, int n, char *format, ...)
{
#else
@@ -96,7 +96,7 @@ va_dcl
va_list ap;
int ret;
-#ifdef __STDC__
+#ifdef HAVE_STDARG_H
va_start(ap, format);
#else
va_start(ap);