Don't enable bound check if libgcc is used

Bound check rely on some functions provided by libtcc. It should
therefore not be enabled when libgcc is used.
This commit is contained in:
Thomas Preud'homme
2014-01-06 11:09:06 +08:00
parent 5078a06e91
commit a01d83d783
2 changed files with 3 additions and 2 deletions

3
tcc.h
View File

@ -128,7 +128,8 @@
#endif
#if !defined(TCC_UCLIBC) && !defined(TCC_TARGET_ARM) && \
!defined(TCC_TARGET_C67) && !defined(TCC_TARGET_X86_64)
!defined(TCC_TARGET_C67) && !defined(TCC_TARGET_X86_64) && \
!defined(CONFIG_USE_LIBGCC)
#define CONFIG_TCC_BCHECK /* enable bound checking code */
#endif