From 51c3465a49858d07c54684dec45c9ad8f2b0f8a0 Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Mon, 23 Nov 2015 12:50:16 +0000 Subject: [PATCH] tcc.h: Change order of built-in include paths: put TCC's own dir first. There may be compiler-specific header files that should override system headers. See TCC's include paths by running "tcc -vv". --- tcc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tcc.h b/tcc.h index 05e39657..c2848801 100644 --- a/tcc.h +++ b/tcc.h @@ -272,9 +272,9 @@ static inline void write64le(unsigned char *p, uint64_t x) # define CONFIG_TCC_SYSINCLUDEPATHS "{B}/include;{B}/include/winapi" # else # define CONFIG_TCC_SYSINCLUDEPATHS \ - ALSO_MUADIR(CONFIG_SYSROOT "/usr/local/include") \ - ":" ALSO_MUADIR(CONFIG_SYSROOT "/usr/include") \ - ":" "{B}/include" + "{B}/include" \ + ":" ALSO_MUADIR(CONFIG_SYSROOT "/usr/local/include") \ + ":" ALSO_MUADIR(CONFIG_SYSROOT "/usr/include") # endif #endif