On Fri, Nov 29, 2002 at 05:19:45PM -0800, Justin Usenet wrote:
> Thanks for your response.
>
> grep STDC_HEADERS config/config.h
>
> /* #undef STDC_HEADERS */
That's what I thought!
Could you try this patch, it's completely untested.
Jean-Louis
--
Jean-Louis Martineau email: [EMAIL PROTECTED]
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7 Fax: (514) 343-5834
--- common-src/arglist.h.orig 2002-11-29 20:42:32.000000000 -0500
+++ common-src/arglist.h 2002-11-29 20:51:15.000000000 -0500
@@ -81,6 +81,24 @@
#include <varargs.h>
+#define printf_arglist_function(fdecl, hook_type, hook_name) \
+ fdecl(hook_name, va_alist) \
+ hook_type hook_name; \
+ va_dcl
+
+#define printf_arglist_function1(fdecl, arg1_type, arg1_name, hook_type, hook_name) \
+ fdecl(arg1_name, hook_name, va_alist) \
+ arg1_type arg1_name; \
+ hook_type hook_name; \
+ va_dcl
+
+#define printf_arglist_function2(fdecl, arg1_type, arg1_name, arg2_type, arg2_name,
+hook_type, hook_name) \
+ fdecl(arg1_name, arg2_name, hook_name, va_alist) \
+ arg1_type arg1_name; \
+ arg2_type arg2_name; \
+ hook_type hook_name; \
+ va_dcl
+
#define arglist_function(fdecl, hook_type, hook_name) \
fdecl(hook_name, va_alist) \
hook_type hook_name; \