_pipe() is also needed for Mingw32

This commit is contained in:
Juan Jose Garcia Ripoll 2008-06-30 21:35:02 +02:00
parent e10d4340c5
commit 8fd4c0596a

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