From e7379bed59af0f50126af61953bc4f10af04a4dd Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Sat, 12 Aug 2023 12:59:59 -0300 Subject: Few tweaks for proper compilation, config.h changes and removed tccdefs.h usage. Gunner's TCC fork is further functionally freestanding now. --- tinycc/include/tccdefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tinycc/include') diff --git a/tinycc/include/tccdefs.h b/tinycc/include/tccdefs.h index f6c25a4..4e03cb9 100644 --- a/tinycc/include/tccdefs.h +++ b/tinycc/include/tccdefs.h @@ -193,7 +193,7 @@ #define __builtin_va_copy(dest, src) (*(dest) = *(src)) #else /* _WIN64 */ - typedef char *__builtin_va_list; + typedef char* __builtin_va_list; #define __builtin_va_arg(ap, t) ((sizeof(t) > 8 || (sizeof(t) & (sizeof(t) - 1))) \ ? **(t **)((ap += 8) - 8) : *(t *)((ap += 8) - 8)) #endif @@ -322,4 +322,4 @@ __BUILTIN_EXTERN(parity, unsigned) #undef __BUILTIN_EXTERN - #endif /* ndef __TCC_PP__ */ + #endif /* ndef __TCC_PP__ */ \ No newline at end of file -- cgit v1.2.3