From cd092e42c0d797d1d0e82467c2244541c6ffad0c Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 9 Jul 2019 22:36:31 +0800 Subject: update tbox --- core/src/tbox/inc/linux/tbox.config.h | 2 ++ core/src/tbox/inc/macosx/tbox.config.h | 2 ++ core/src/tbox/tbox | 2 +- core/src/xmake/io/file_read.c | 4 ++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h index 5d061fcc5..1b2590f12 100755 --- a/core/src/tbox/inc/linux/tbox.config.h +++ b/core/src/tbox/inc/linux/tbox.config.h @@ -56,6 +56,8 @@ #define TB_CONFIG_LIBC_HAVE_STRLEN 1 #define TB_CONFIG_LIBC_HAVE_STRNLEN 1 #define TB_CONFIG_LIBC_HAVE_STRSTR 1 +#define TB_CONFIG_LIBC_HAVE_STRCHR 1 +#define TB_CONFIG_LIBC_HAVE_STRRCHR 1 #define TB_CONFIG_LIBC_HAVE_STRCASESTR 1 #define TB_CONFIG_LIBC_HAVE_STRCMP 1 #define TB_CONFIG_LIBC_HAVE_STRCASECMP 1 diff --git a/core/src/tbox/inc/macosx/tbox.config.h b/core/src/tbox/inc/macosx/tbox.config.h index 9d66006ca..5bfbea9cc 100755 --- a/core/src/tbox/inc/macosx/tbox.config.h +++ b/core/src/tbox/inc/macosx/tbox.config.h @@ -56,6 +56,8 @@ #define TB_CONFIG_LIBC_HAVE_STRLEN 1 #define TB_CONFIG_LIBC_HAVE_STRNLEN 1 #define TB_CONFIG_LIBC_HAVE_STRSTR 1 +#define TB_CONFIG_LIBC_HAVE_STRCHR 1 +#define TB_CONFIG_LIBC_HAVE_STRRCHR 1 #define TB_CONFIG_LIBC_HAVE_STRCASESTR 1 #define TB_CONFIG_LIBC_HAVE_STRCMP 1 #define TB_CONFIG_LIBC_HAVE_STRCASECMP 1 diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox index 84349ea30..98e816700 160000 --- a/core/src/tbox/tbox +++ b/core/src/tbox/tbox @@ -1 +1 @@ -Subproject commit 84349ea3016f2087fc222a1d21856960037a31ee +Subproject commit 98e816700e680ec04cf8c36f78e7c87f601e8d61 diff --git a/core/src/xmake/io/file_read.c b/core/src/xmake/io/file_read.c index 4bc105c53..6fe039e76 100644 --- a/core/src/xmake/io/file_read.c +++ b/core/src/xmake/io/file_read.c @@ -22,8 +22,8 @@ /* ////////////////////////////////////////////////////////////////////////////////////// * trace */ -#define TB_TRACE_MODULE_NAME "file_read" -#define TB_TRACE_MODULE_DEBUG (0) +#define TB_TRACE_MODULE_NAME "file_read" +#define TB_TRACE_MODULE_DEBUG (0) /* ////////////////////////////////////////////////////////////////////////////////////// * includes -- cgit v1.3.1