mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
va_copy is only available from C99 and up
git-svn-id: svn://svn.cc65.org/cc65/trunk@3325 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
95f66b8ca9
commit
5ecda9d204
@ -6,7 +6,7 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||
/* (C) 1998-2004 Ullrich von Bassewitz */
|
||||
/* Römerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
@ -42,7 +42,9 @@ typedef unsigned char* va_list;
|
||||
|
||||
#define va_start(ap, fix) ap = ((va_list)&(fix))
|
||||
#define va_arg(ap,type) (*(type*)(ap -= ((sizeof (type) + 1) & ~1)))
|
||||
#if __CC65_STD__ >= __CC65_STD_C99__
|
||||
#define va_copy(dest, src) ((dest)=(src))
|
||||
#endif
|
||||
#define va_end(ap)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user