summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-09 00:48:11 +0800
committerruki <[email protected]>2020-05-08 22:49:06 +0800
commit803285b2b37cee9489209d3f51448ec39ce957f9 (patch)
tree35f10513fc5eb9d4b8426345ce6e740f7e934198
parent832666d0784c5d01e507fcafdf1cd4f553335a30 (diff)
disable pread64 for bsd
-rwxr-xr-xcore/src/tbox/inc/bsd/tbox.config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/tbox/inc/bsd/tbox.config.h b/core/src/tbox/inc/bsd/tbox.config.h
index 7386869f4..20e791fe7 100755
--- a/core/src/tbox/inc/bsd/tbox.config.h
+++ b/core/src/tbox/inc/bsd/tbox.config.h
@@ -157,8 +157,8 @@
#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
+/* #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 */
/* #undef TB_CONFIG_POSIX_HAVE_SENDFILE */