Fix Windows build, take 2.

This commit is contained in:
Victor Zverovich 2014-05-18 12:38:01 -07:00
parent df991a0f46
commit 5bd9efebda

View File

@ -115,7 +115,7 @@ int test::pipe(int fildes[2]) {
#else
int test::pipe(int *pfds, unsigned psize, int textmode) {
EMULATE_EINTR(pipe, -1);
return _pipe(fildes, 256, O_BINARY);
return _pipe(pfds, psize, textmode);
}
#endif