mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
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:
@@ -12,6 +12,7 @@ details. */
|
||||
#include <platform.h>
|
||||
#include <sys/timeb.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <java/lang/ArithmeticException.h>
|
||||
#include <java/lang/UnsupportedOperationException.h>
|
||||
@@ -342,3 +343,9 @@ _Jv_select (int n, fd_set *readfds, fd_set *writefds,
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
int
|
||||
_Jv_pipe (int filedes[2])
|
||||
{
|
||||
return _pipe (filedes, 4096, _O_BINARY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user