summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-24 23:17:12 +0800
committerruki <[email protected]>2024-01-24 23:17:12 +0800
commite649b0e91c1eed6fe1a4336d6c1ce7e3df3d9b78 (patch)
tree2689903c7c80fd8c81db9a02f45a9ca9992fd5a5 /core
parentd1902a34e072263fb642398121c932e1fa4200be (diff)
disable some apis for alpine
Diffstat (limited to 'core')
-rwxr-xr-xcore/src/tbox/inc/linux/tbox.config.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h
index 2b36347a7..20e49240c 100755
--- a/core/src/tbox/inc/linux/tbox.config.h
+++ b/core/src/tbox/inc/linux/tbox.config.h
@@ -147,10 +147,12 @@
#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
-#define TB_CONFIG_POSIX_HAVE_LSTAT64 1
+// alpine does not support
+/* #undef TB_CONFIG_POSIX_HAVE_STAT64 */
+/* #undef TB_CONFIG_POSIX_HAVE_LSTAT64 */
#define TB_CONFIG_POSIX_HAVE_GETHOSTNAME 1
-#define TB_CONFIG_POSIX_HAVE_GETIFADDRS 1
+// alpine does not support
+/* #undef TB_CONFIG_POSIX_HAVE_GETIFADDRS */
#define TB_CONFIG_POSIX_HAVE_SEM_INIT 1
#define TB_CONFIG_POSIX_HAVE_GETPAGESIZE 1
#define TB_CONFIG_POSIX_HAVE_SYSCONF 1
@@ -162,8 +164,9 @@
#define TB_CONFIG_POSIX_HAVE_WRITEV 1
#define TB_CONFIG_POSIX_HAVE_PREADV 1
#define TB_CONFIG_POSIX_HAVE_PWRITEV 1
-#define TB_CONFIG_POSIX_HAVE_PREAD64 1
-#define TB_CONFIG_POSIX_HAVE_PWRITE64 1
+// alpine does not support
+/* #undef TB_CONFIG_POSIX_HAVE_PREAD64 */
+/* #undef TB_CONFIG_POSIX_HAVE_PWRITE64 */
#define TB_CONFIG_POSIX_HAVE_FDATASYNC 1
/* #undef TB_CONFIG_POSIX_HAVE_COPYFILE */
#define TB_CONFIG_POSIX_HAVE_SENDFILE 1