diff options
| author | ruki <[email protected]> | 2021-01-12 00:58:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-12 00:58:45 +0800 |
| commit | be370e1ec0c20ac64ab9af89b1ca7cdb561378ca (patch) | |
| tree | 49237bc944cc2719ef54b4e6a5d8a05d3b0362e4 /core/src | |
| parent | bb1180282099720fae44bb619a97f325bd1b04e1 (diff) | |
improve config for apple m1
Diffstat (limited to 'core/src')
| -rwxr-xr-x | core/src/tbox/inc/macosx/tbox.config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/src/tbox/inc/macosx/tbox.config.h b/core/src/tbox/inc/macosx/tbox.config.h index f7e64654a..c1293f305 100755 --- a/core/src/tbox/inc/macosx/tbox.config.h +++ b/core/src/tbox/inc/macosx/tbox.config.h @@ -143,7 +143,11 @@ #define TB_CONFIG_POSIX_HAVE_OPENDIR 1 #define TB_CONFIG_POSIX_HAVE_DLOPEN 1 #define TB_CONFIG_POSIX_HAVE_OPEN 1 -#define TB_CONFIG_POSIX_HAVE_STAT64 1 +#if !defined(__arm__) +# define TB_CONFIG_POSIX_HAVE_STAT64 1 +#else +/* #undef TB_CONFIG_POSIX_HAVE_STAT64 */ +#endif #define TB_CONFIG_POSIX_HAVE_GETHOSTNAME 1 #define TB_CONFIG_POSIX_HAVE_GETIFADDRS 1 #define TB_CONFIG_POSIX_HAVE_SEM_INIT 1 |
