diff options
Diffstat (limited to 'tinycc')
| -rw-r--r-- | tinycc/include/tccdefs.h | 4 | ||||
| -rw-r--r-- | tinycc/tccpp.c | 8 |
2 files changed, 2 insertions, 10 deletions
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 diff --git a/tinycc/tccpp.c b/tinycc/tccpp.c index eb37f41..717ab48 100644 --- a/tinycc/tccpp.c +++ b/tinycc/tccpp.c @@ -3661,14 +3661,6 @@ static void tcc_predefs(TCCState *s1, CString *cs, int is_asm) if (!is_asm) { putdef(cs, "__STDC__"); cstr_printf(cs, "#define __STDC_VERSION__ %dL\n", s1->cversion); - cstr_cat(cs, - /* load more predefs and __builtins */ -#if CONFIG_TCC_PREDEFS - #include "include/tccdefs.h" /* include as strings */ -#else - "#include <tccdefs.h>\n" /* load at runtime */ -#endif - , -1); } cstr_printf(cs, "#define __BASE_FILE__ \"%s\"\n", file->filename); } |
