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".
This commit is contained in:
Edmund Grimley Evans 2015-11-23 12:50:16 +00:00
parent 7301b42e36
commit 51c3465a49

6
tcc.h
View File

@ -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