diff options
author | Paul Smith <psmith@gnu.org> | 2004-03-06 08:05:17 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2004-03-06 08:05:17 +0000 |
commit | 04e2ea3c3059041806c6f11ab7b673f35b761500 (patch) | |
tree | a90c162509322242fb0e7f0caf747cecb09c659c /misc.c | |
parent | e6750e22cc1f3090b10adc8e920114fce21c60e3 (diff) | |
download | make-04e2ea3c3059041806c6f11ab7b673f35b761500.tar.gz |
Don't use __STDC__; some compilers don't set it properly.
Use autoconf's test to set HAVE_ANSI_COMPILER and check that instead.
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -205,7 +205,7 @@ concat (const char *s1, const char *s2, const char *s3) /* Print a message on stdout. */ void -#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H +#if HAVE_ANSI_COMPILER && USE_VARIADIC && HAVE_STDARG_H message (int prefix, const char *fmt, ...) #else message (prefix, fmt, va_alist) @@ -241,7 +241,7 @@ message (prefix, fmt, va_alist) /* Print an error message. */ void -#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H +#if HAVE_ANSI_COMPILER && USE_VARIADIC && HAVE_STDARG_H error (const struct floc *flocp, const char *fmt, ...) #else error (flocp, fmt, va_alist) @@ -274,7 +274,7 @@ error (flocp, fmt, va_alist) /* Print an error message and exit. */ void -#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H +#if HAVE_ANSI_COMPILER && USE_VARIADIC && HAVE_STDARG_H fatal (const struct floc *flocp, const char *fmt, ...) #else fatal (flocp, fmt, va_alist) |