From 9c6b9a1450d6610a37234b016bc1cfb021f30ee8 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sat, 19 Feb 2022 12:01:56 -0500 Subject: full build of tcc with itself - doesn't match gcc :o --- 05/tcc-0.9.27/tcc.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '05/tcc-0.9.27/tcc.h') diff --git a/05/tcc-0.9.27/tcc.h b/05/tcc-0.9.27/tcc.h index c7f6c72..6c3c10c 100644 --- a/05/tcc-0.9.27/tcc.h +++ b/05/tcc-0.9.27/tcc.h @@ -30,14 +30,15 @@ #include #include #include -#ifdef __GNUC__ +#include +#if defined __GNUC__ || defined __TINYC__ #include #endif #include #include #ifndef _WIN32 -#ifdef __GNUC__ +#if defined __GNUC__ || defined __TINYC__ # include # include #endif @@ -211,7 +212,8 @@ extern long double strtold (const char *__nptr, char **__endptr); # define CONFIG_TCC_SYSINCLUDEPATHS \ "{B}/include" \ ":" ALSO_TRIPLET(CONFIG_SYSROOT "/usr/local/include") \ - ":" ALSO_TRIPLET(CONFIG_SYSROOT "/usr/include") + ":" ALSO_TRIPLET(CONFIG_SYSROOT "/usr/include") \ + ":/usr/include/x86_64-linux-gnu" # endif #endif -- cgit v1.2.3