aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-11-23 12:50:16 +0000
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-11-23 12:50:16 +0000
commit51c3465a49858d07c54684dec45c9ad8f2b0f8a0 (patch)
tree881d0a4f17725a5e4be48de869f6ebda41aa1ed0
parent7301b42e362adb45120d4bb738deb18572ce4862 (diff)
downloadtinycc-51c3465a49858d07c54684dec45c9ad8f2b0f8a0.tar.gz
tinycc-51c3465a49858d07c54684dec45c9ad8f2b0f8a0.tar.bz2
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".
-rw-r--r--tcc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tcc.h b/tcc.h
index 05e3965..c284880 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