summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authortjg <tjg>1999-08-19 09:29:59 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:16 +0100
commite9fc7b5a7c12eeb3bffbb170d7ff8a6649f93980 (patch)
treedea152164aad913ce96dad2e3416af9664e38b1c /proto.h
parentda4790fcdc1b9328f201c54827d97cb3c9393fa1 (diff)
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.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h6
1 files changed, 3 insertions, 3 deletions
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 <stdarg.h>
-/* 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