From 1278352ff02dcbb52c5a866c3b477581c1c4eebc Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 31 Jan 2020 23:32:37 +0800 Subject: fix pipe open and openpair --- core/src/tbox/inc/linux/tbox.config.h | 3 +++ core/src/tbox/inc/macosx/tbox.config.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'core/src') 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 -- cgit v1.3.1