summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-03-04 13:42:51 +0000
committerPaul Smith <psmith@gnu.org>2004-03-04 13:42:51 +0000
commite3e3f15ebcbe29bed87354c317824c95cac427c4 (patch)
treed039e8f0ca3413f7ca9c81df1cc15aa6b6d6cab6 /misc.c
parent59306b02234da9c144f70e55d38ef2e91e5113f0 (diff)
downloadgunmake-e3e3f15ebcbe29bed87354c317824c95cac427c4.tar.gz
Updates to automate generation of GNU upload artifacts.
Fix a problem compiling on old, pre-ANSI systems. getloadavg test is still broken, but make builds. Document a breakage on SunOS 4.x systems.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index 0832042..07a9c47 100644
--- a/misc.c
+++ b/misc.c
@@ -205,7 +205,7 @@ concat (const char *s1, const char *s2, const char *s3)
/* Print a message on stdout. */
void
-#if USE_VARIADIC
+#if __STDC__ && 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 USE_VARIADIC
+#if __STDC__ && 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 USE_VARIADIC
+#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H
fatal (const struct floc *flocp, const char *fmt, ...)
#else
fatal (flocp, fmt, va_alist)