_pipe() is also needed for Mingw32

This commit is contained in:
jjgarcia 2008-06-30 19:35:58 +00:00
parent 04268a5a51
commit b3fc6d3975

View file

@ -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);