stdarg.h or varargs.h.
(err): Similarly for function signature.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14436
dc483132-0cff-0310-8789-
dd5450dbe970
+
+ * dbtest.c: Test for __STDC__ defined, not nonzero, to decide
+ whether to use stdarg.h or varargs.h.
+ (err): Similarly for function signature.
+
2002-02-19 Ken Raeburn <raeburn@mit.edu>
* run.test: Use "/bin/." instead of "/bin" in find commands in
exit(1);
}
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
void
-#if __STDC__
+#ifdef __STDC__
err(const char *fmt, ...)
#else
err(fmt, va_alist)
#endif
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);