From d012ff90200f5d237bd0cacd4d30307c55765e9b Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 12 Jan 2021 21:00:43 +0800 Subject: improve config for apple m1 --- core/src/tbox/inc/macosx/tbox.config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/tbox/inc/macosx/tbox.config.h b/core/src/tbox/inc/macosx/tbox.config.h index c1293f305..c1e9c7454 100755 --- a/core/src/tbox/inc/macosx/tbox.config.h +++ b/core/src/tbox/inc/macosx/tbox.config.h @@ -143,7 +143,7 @@ #define TB_CONFIG_POSIX_HAVE_OPENDIR 1 #define TB_CONFIG_POSIX_HAVE_DLOPEN 1 #define TB_CONFIG_POSIX_HAVE_OPEN 1 -#if !defined(__arm__) +#if !defined(__arm64__) && !defined(__aarch64__) # define TB_CONFIG_POSIX_HAVE_STAT64 1 #else /* #undef TB_CONFIG_POSIX_HAVE_STAT64 */ -- cgit v1.3.1