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:
parent
7301b42e36
commit
51c3465a49
1 changed files with 3 additions and 3 deletions
6
tcc.h
6
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"
|
# define CONFIG_TCC_SYSINCLUDEPATHS "{B}/include;{B}/include/winapi"
|
||||||
# else
|
# else
|
||||||
# define CONFIG_TCC_SYSINCLUDEPATHS \
|
# define CONFIG_TCC_SYSINCLUDEPATHS \
|
||||||
ALSO_MUADIR(CONFIG_SYSROOT "/usr/local/include") \
|
"{B}/include" \
|
||||||
":" ALSO_MUADIR(CONFIG_SYSROOT "/usr/include") \
|
":" ALSO_MUADIR(CONFIG_SYSROOT "/usr/local/include") \
|
||||||
":" "{B}/include"
|
":" ALSO_MUADIR(CONFIG_SYSROOT "/usr/include")
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue