]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Treat SunPro C like ANSI C.
authorBruno Haible <bruno@clisp.org>
Tue, 29 Oct 2002 21:48:50 +0000 (21:48 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:49 +0000 (12:08 +0200)
lib/ChangeLog
lib/libstdarg.h

index 6aecc2de509685fd4796c7c4bce2aa8db12d646a..08286e0436a674f3fd8543dbcb8b63b50c13555b 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-29  Bruno Haible  <bruno@clisp.org>
+
+       * libstdarg.h: Treat SunPro C like ANSI C; it defines __STDC__ to 0.
+
 2002-10-27  Bruno Haible  <bruno@clisp.org>
 
        * liballoca.h: Put under LGPL.
index ffc494d38db480ce0c5ab7f7731352cdd5fe9d22..79c86daedf62076bb4c77b8ca2a8c143b82a9070 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef _LIBSTDARG_H
 #define _LIBSTDARG_H
 
-#if __STDC__ || defined __cplusplus
+#if __STDC__ || defined __SUNPRO_C || defined __cplusplus
 # include <stdarg.h>
 # define VA_START(args, lastarg) va_start (args, lastarg)
 # define VA_PARAMS(stdc_params, oldc_params) stdc_params