Import more changesets from Rob Landley's fork (part 2)

This commit is contained in:
grischka
2007-11-21 17:16:31 +00:00
parent 54bf8c0556
commit d778bde7f9
10 changed files with 157 additions and 79 deletions

View File

@ -6,6 +6,7 @@ typedef char *va_list;
/* only correct for i386 */
#define va_start(ap,last) ap = ((char *)&(last)) + ((sizeof(last)+3)&~3)
#define va_arg(ap,type) (ap += (sizeof(type)+3)&~3, *(type *)(ap - ((sizeof(type)+3)&~3)))
#define va_copy(dest, src) (dest) = (src)
#define va_end(ap)
/* fix a buggy dependency on GCC in libio.h */