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/tccpp.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tinycc/tccpp.c') 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 \n" /* load at runtime */ -#endif - , -1); } cstr_printf(cs, "#define __BASE_FILE__ \"%s\"\n", file->filename); } -- cgit v1.2.3