summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-12 21:00:43 +0800
committerruki <[email protected]>2021-01-12 21:00:43 +0800
commitd012ff90200f5d237bd0cacd4d30307c55765e9b (patch)
treece89d93642a0a6452e6cae64b0fbf980f7fcf76d /core/src
parentbe370e1ec0c20ac64ab9af89b1ca7cdb561378ca (diff)
improve config for apple m1
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/tbox/inc/macosx/tbox.config.h2
1 files changed, 1 insertions, 1 deletions
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 */