diff options
author | membar <membar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-17 18:44:42 +0000 |
---|---|---|
committer | membar <membar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-17 18:44:42 +0000 |
commit | 03836f4388838829b41e751209ac9bd6e3c97919 (patch) | |
tree | 2b0febcb84c6aa93d2e8ca245c90dcfe9dad78af /libjava/include/posix.h | |
parent | 0c7495238772587a73f067b61921ce3292e9163e (diff) | |
download | gcc-03836f4388838829b41e751209ac9bd6e3c97919.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72616 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/posix.h')
-rw-r--r-- | libjava/include/posix.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h index 2c6054ec93c..c8cd5e25e28 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -178,4 +178,11 @@ _Jv_read(int s, void *buf, int len) #endif /* DISABLE_JAVA_NET */ +// Wraps ::pipe +static inline int +_Jv_pipe (int filedes[2]) +{ + return ::pipe (filedes); +} + #endif /* __JV_POSIX_H__ */ |