From: Bruno Haible Date: Tue, 29 Oct 2002 21:48:50 +0000 (+0000) Subject: Treat SunPro C like ANSI C. X-Git-Tag: v0.12~1238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63bad3a5082d570ef43c9a8959bc35e5387613ee;p=thirdparty%2Fgettext.git Treat SunPro C like ANSI C. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 6aecc2de5..08286e043 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2002-10-29 Bruno Haible + + * libstdarg.h: Treat SunPro C like ANSI C; it defines __STDC__ to 0. + 2002-10-27 Bruno Haible * liballoca.h: Put under LGPL. diff --git a/lib/libstdarg.h b/lib/libstdarg.h index ffc494d38..79c86daed 100644 --- a/lib/libstdarg.h +++ b/lib/libstdarg.h @@ -19,7 +19,7 @@ #ifndef _LIBSTDARG_H #define _LIBSTDARG_H -#if __STDC__ || defined __cplusplus +#if __STDC__ || defined __SUNPRO_C || defined __cplusplus # include # define VA_START(args, lastarg) va_start (args, lastarg) # define VA_PARAMS(stdc_params, oldc_params) stdc_params