summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2020-01-31 23:32:37 +0800
committerruki <[email protected]>2020-01-31 15:15:47 +0800
commit1278352ff02dcbb52c5a866c3b477581c1c4eebc (patch)
tree1eebb8c36fe6af08d3a0fda12f099381270a5d84 /core/src
parent20c8823da8a5bde7de52479d7c504a6bde8a23fb (diff)
fix pipe open and openpair
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/tbox/inc/linux/tbox.config.h3
-rwxr-xr-xcore/src/tbox/inc/macosx/tbox.config.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h
index e0b677041..dff3a0dad 100755
--- a/core/src/tbox/inc/linux/tbox.config.h
+++ b/core/src/tbox/inc/linux/tbox.config.h
@@ -189,6 +189,9 @@
#define TB_CONFIG_POSIX_HAVE_GETHOSTBYNAME 1
#define TB_CONFIG_POSIX_HAVE_GETHOSTBYADDR 1
#define TB_CONFIG_POSIX_HAVE_FCNTL 1
+#define TB_CONFIG_POSIX_HAVE_PIPE 1
+/* #undef TB_CONFIG_POSIX_HAVE_PIPE2 */
+#define TB_CONFIG_POSIX_HAVE_MKFIFO 1
// freebsd functions
#define TB_CONFIG_FREEBSD_HAVE_FLOCK 1
diff --git a/core/src/tbox/inc/macosx/tbox.config.h b/core/src/tbox/inc/macosx/tbox.config.h
index 12f545d27..e7f5d15d1 100755
--- a/core/src/tbox/inc/macosx/tbox.config.h
+++ b/core/src/tbox/inc/macosx/tbox.config.h
@@ -177,6 +177,9 @@
#define TB_CONFIG_POSIX_HAVE_GETHOSTBYNAME 1
#define TB_CONFIG_POSIX_HAVE_GETHOSTBYADDR 1
#define TB_CONFIG_POSIX_HAVE_FCNTL 1
+#define TB_CONFIG_POSIX_HAVE_PIPE 1
+/* #undef TB_CONFIG_POSIX_HAVE_PIPE2 */
+#define TB_CONFIG_POSIX_HAVE_MKFIFO 1
// freebsd functions
#define TB_CONFIG_FREEBSD_HAVE_FLOCK 1