diff options
Diffstat (limited to '')
-rw-r--r-- | includes/common.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/includes/common.h b/includes/common.h index 760be22..b1b5b61 100644 --- a/includes/common.h +++ b/includes/common.h @@ -24,6 +24,8 @@ #define va_arg(a,b) (*(b *) (void *) ((a = (char *) (((((unsigned long)(a)) + ((__alignof__ (b) == 16) ? 15 : 3)) & ~((__alignof__ (b) == 16) ? 15 : 3)) + ((sizeof (b) + 3) & ~3))) - ((sizeof (b) + 3) & ~3))) #define va_end(a) ((void)0) +#define alloca(x) __alloca(x) + #else #include <stdarg.h> // expand this to nothing @@ -34,13 +36,13 @@ // MacTypes.h #ifdef __MWERKS__ typedef unsigned char UInt8; -typedef signed char SInt8; +typedef char SInt8; typedef unsigned short UInt16; -typedef signed short SInt16; +typedef short SInt16; typedef unsigned long UInt32; -typedef signed long SInt32; +typedef long SInt32; typedef unsigned long long UInt64; -typedef signed long long SInt64; +typedef long long SInt64; typedef long Size; #else |