diff options
author | pommicket <pommicket@gmail.com> | 2022-02-19 12:01:56 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-02-19 12:01:56 -0500 |
commit | 9c6b9a1450d6610a37234b016bc1cfb021f30ee8 (patch) | |
tree | 9416b9c6b13b30f9107030cdccca7b33b1b27d60 /05/tcc-0.9.27/tcc.h | |
parent | 59b7931165ecbd189214142b95d3d2033f4f579f (diff) |
full build of tcc with itself - doesn't match gcc :o
Diffstat (limited to '05/tcc-0.9.27/tcc.h')
-rw-r--r-- | 05/tcc-0.9.27/tcc.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 <string.h> #include <errno.h> #include <math.h> -#ifdef __GNUC__ +#include <float.h> +#if defined __GNUC__ || defined __TINYC__ #include <fcntl.h> #endif #include <setjmp.h> #include <time.h> #ifndef _WIN32 -#ifdef __GNUC__ +#if defined __GNUC__ || defined __TINYC__ # include <unistd.h> # include <sys/time.h> #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 |