summaryrefslogtreecommitdiff
path: root/core/src/tbox/inc/linux
diff options
context:
space:
mode:
authorruki <[email protected]>2019-07-24 23:05:25 +0800
committerruki <[email protected]>2019-07-24 12:32:35 +0800
commit7a6febd132b8a00f7548eba2c41b464b8086033a (patch)
tree5e9552f1602eea65fe0b1de05cc6af5de7748863 /core/src/tbox/inc/linux
parent81446e4035282a53c54b54030b1453b3c2a88582 (diff)
update tbox to support filelock
Diffstat (limited to 'core/src/tbox/inc/linux')
-rwxr-xr-xcore/src/tbox/inc/linux/tbox.config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h
index 1b2590f12..47a6e5d31 100755
--- a/core/src/tbox/inc/linux/tbox.config.h
+++ b/core/src/tbox/inc/linux/tbox.config.h
@@ -176,6 +176,10 @@
#define TB_CONFIG_POSIX_HAVE_GETNAMEINFO 1
#define TB_CONFIG_POSIX_HAVE_GETHOSTBYNAME 1
#define TB_CONFIG_POSIX_HAVE_GETHOSTBYADDR 1
+#define TB_CONFIG_POSIX_HAVE_FCNTL 1
+
+// freebsd functions
+#define TB_CONFIG_FREEBSD_HAVE_FLOCK 1
// systemv functions
#define TB_CONFIG_SYSTEMV_HAVE_SEMGET 1