win32.cc: (_Jv_pipe) Implemented.
* win32.cc: (_Jv_pipe) Implemented. * gnu/java/nio/natPipeImpl.cc: (nativeInit) Use _Jv_pipe instead of ::pipe. * include/posix.h: (_Jv_pipe) New inline. * include/win32.h: (_Jv_pipe) New declaration. From-SVN: r72616
This commit is contained in:
@@ -26,7 +26,7 @@ gnu::java::nio::PipeImpl::nativeInit (::java::nio::channels::spi::SelectorProvid
|
||||
{
|
||||
int filedes [2];
|
||||
|
||||
if (::pipe (filedes) < 0)
|
||||
if (_Jv_pipe (filedes) < 0)
|
||||
throw new ::java::io::IOException (JvNewStringUTF (strerror (errno)));
|
||||
|
||||
/* FIXME
|
||||
|
||||
Reference in New Issue
Block a user