summaryrefslogtreecommitdiff
path: root/make.h
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 /make.h
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 'make.h')
-rw-r--r--make.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/make.h b/make.h
index 786fc6c..453e9f5 100644
--- a/make.h
+++ b/make.h
@@ -387,7 +387,7 @@ struct floc
#define STRING_SIZE_TUPLE(_s) (_s), (sizeof (_s)-1)
-/* We have to have both stdarg.h or varargs.h AND v*printf or doprnt to use
+/* We have to have stdarg.h or varargs.h AND v*printf or doprnt to use
variadic versions of these functions. */
#if HAVE_STDARG_H || HAVE_VARARGS_H
@@ -396,7 +396,7 @@ struct floc
# endif
#endif
-#if __STDC__ && USE_VARIADIC
+#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H
extern void message (int prefix, const char *fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
extern void error (const struct floc *flocp, const char *fmt, ...)