diff options
| author | tjg <tjg> | 1999-08-19 09:29:59 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:16 +0100 |
| commit | e9fc7b5a7c12eeb3bffbb170d7ff8a6649f93980 (patch) | |
| tree | dea152164aad913ce96dad2e3416af9664e38b1c /proto.h | |
| parent | da4790fcdc1b9328f201c54827d97cb3c9393fa1 (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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |