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:
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user