diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-03-22 17:31:39 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-03-22 17:31:39 -0700 |
commit | a654b94db8a3574b7a774edfd77b8612c0b642cd (patch) | |
tree | c55640ab3d06fe8020c1dcd0ebbf0081c879e7d5 /arm64/include/ape/stdarg.h | |
parent | 7364a96b289c24637db802fca6c57d8024ca2359 (diff) | |
download | plan9front-a654b94db8a3574b7a774edfd77b8612c0b642cd.tar.xz |
add va_copy macro, conforming to c99 7.15.1.2
Diffstat (limited to 'arm64/include/ape/stdarg.h')
-rw-r--r-- | arm64/include/ape/stdarg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arm64/include/ape/stdarg.h b/arm64/include/ape/stdarg.h index cf466841f..9486c08e5 100644 --- a/arm64/include/ape/stdarg.h +++ b/arm64/include/ape/stdarg.h @@ -14,5 +14,6 @@ typedef char *va_list; (sizeof(mode) == 4)?\ ((mode*)(list += 8))[-2]:\ ((mode*)(list += sizeof(mode)))[-1]) +#define va_copy(dst, src) ((dst) = (src)) #endif /* __STDARG */ |