1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-29 02:55:20 +00:00

Use the new __argsize__ pseudo variable

git-svn-id: svn://svn.cc65.org/cc65/trunk@647 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-03-23 10:28:11 +00:00
parent 594a941ee9
commit 5b68ec1591

View File

@ -40,7 +40,7 @@
typedef unsigned char* va_list;
#define va_start(ap, fix) ap = (va_list)&fix + *(((va_list)&fix)-1) - __fixargs__
#define va_start(ap, fix) ap = (va_list)&fix + __argsize__ - __fixargs__
#define va_arg(ap,type) (*(type*)(ap -= ((sizeof (type) + 1) & ~1)))
#define va_copy(dest, src) ((dest)=(src))
#define va_end(ap)