diff options
| author | Toby Goodwin <toby@paccrat.org> | 2015-04-04 11:55:08 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:25 +0100 |
| commit | 8f6cdbf1e60d882598cd649000d13cd9859d8cc9 (patch) | |
| tree | c709b2f12e6d64856d56bc5904716f2a20350dd2 /proto.h | |
| parent | b84c9e384eb97f3ca12700ecadd22bac86f4fe64 (diff) | |
s/__va_copy/va_copy/g
Diffstat (limited to 'proto.h')
| -rw-r--r-- | proto.h | 10 |
1 files changed, 5 insertions, 5 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 -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) +/* C 99 specifies a va_copy() macro to be used for copying +objects of type va_list. If this doesn't exist, hope that simple +assignment works. */ +#ifndef va_copy +#define va_copy(x,y) (x)=(y) #endif #if STDC_HEADERS |