From b3fc6d3975530d3bcee5d4d72bb7ec40df650bdc Mon Sep 17 00:00:00 2001 From: jjgarcia Date: Mon, 30 Jun 2008 19:35:58 +0000 Subject: [PATCH] _pipe() is also needed for Mingw32 --- src/c/unixsys.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c/unixsys.d b/src/c/unixsys.d index 338253063..f57519d8f 100644 --- a/src/c/unixsys.d +++ b/src/c/unixsys.d @@ -53,7 +53,7 @@ si_make_pipe() { cl_object output; int fds[2], ret; -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(mingw32) ret = _pipe(fds, 4096, _O_BINARY); #else ret = pipe(fds);