From 971ed5cf931f31b3d86919667f8469a1be31dbfd Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 31 Aug 2022 00:56:57 +0800 Subject: fix config --- core/src/tbox/inc/linux/tbox.config.h | 1 + core/src/tbox/inc/macosx/tbox.config.h | 1 + 2 files changed, 2 insertions(+) diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h index b2977ecbb..a1986b4be 100755 --- a/core/src/tbox/inc/linux/tbox.config.h +++ b/core/src/tbox/inc/linux/tbox.config.h @@ -148,6 +148,7 @@ #define TB_CONFIG_POSIX_HAVE_DLOPEN 1 #define TB_CONFIG_POSIX_HAVE_OPEN 1 #define TB_CONFIG_POSIX_HAVE_STAT64 1 +#define TB_CONFIG_POSIX_HAVE_LSTAT64 1 #define TB_CONFIG_POSIX_HAVE_GETHOSTNAME 1 #define TB_CONFIG_POSIX_HAVE_GETIFADDRS 1 #define TB_CONFIG_POSIX_HAVE_SEM_INIT 1 diff --git a/core/src/tbox/inc/macosx/tbox.config.h b/core/src/tbox/inc/macosx/tbox.config.h index 261b82b29..59abf4acf 100755 --- a/core/src/tbox/inc/macosx/tbox.config.h +++ b/core/src/tbox/inc/macosx/tbox.config.h @@ -145,6 +145,7 @@ #define TB_CONFIG_POSIX_HAVE_OPEN 1 #if !defined(__arm64__) && !defined(__aarch64__) # define TB_CONFIG_POSIX_HAVE_STAT64 1 +# define TB_CONFIG_POSIX_HAVE_LSTAT64 1 #else /* #undef TB_CONFIG_POSIX_HAVE_STAT64 */ #endif -- cgit v1.3.1