From e9fc7b5a7c12eeb3bffbb170d7ff8a6649f93980 Mon Sep 17 00:00:00 2001 From: tjg Date: Thu, 19 Aug 1999 09:29:59 +0000 Subject: Portability: the proposed C 9x __va_copy() macro is called that, not va_copy(), as I thought. Furthermore, it is defined to be a macro, so we don't need to use autoconf to check for it. --- proto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 82e5cb7..0f24fb5 100644 --- a/proto.h +++ b/proto.h @@ -23,11 +23,11 @@ typedef long align_t; #include -/* C 9x specifies a va_copy() macro which should be used for copying +/* C 9x specifies a __va_copy() macro which should be used for copying objects of type va_list. Of course, most places don't have this yet, but where it does exist we need to use it. */ -#ifndef va_copy -#define va_copy(x,y) (x)=(y) +#ifndef __va_copy +#define __va_copy(x,y) (x)=(y) #endif #if STDC_HEADERS -- cgit v1.2.3