diff options
author | Michael Koch <konqueror@gmx.de> | 2002-11-21 14:34:12 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2002-11-21 14:34:12 +0000 |
commit | e59ff7e93a0fba0df62f6d3aa1904abdddb4dd3e (patch) | |
tree | 80fec0f3860f3acd1330dbdf969f335088899e04 /libjava/include/posix.h | |
parent | 7c143ed26893366717a402edc90dbdddfb3656ca (diff) | |
download | gcc-e59ff7e93a0fba0df62f6d3aa1904abdddb4dd3e.zip gcc-e59ff7e93a0fba0df62f6d3aa1904abdddb4dd3e.tar.gz gcc-e59ff7e93a0fba0df62f6d3aa1904abdddb4dd3e.tar.bz2 |
posic.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
2002-11-21 Michael Koch <konqueror@gmx.de>
* include/posic.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
* include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
From-SVN: r59346
Diffstat (limited to 'libjava/include/posix.h')
-rw-r--r-- | libjava/include/posix.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h index 975b93c..3350f4f 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -11,6 +11,8 @@ details. */ #ifndef __JV_POSIX_H__ #define __JV_POSIX_H__ +#ifndef DISABLE_JAVA_NET + /* Required on Tru64 UNIX V4/V5 so <sys/socket.h> defines prototypes of socket functions with socklen_t instead of size_t. This must be defined early so <standards.h> defines the correct version of __PIIX. */ @@ -102,4 +104,7 @@ _Jv_read(int s, void *buf, int len) { return ::read (s, buf, len); } -#endif + +#endif /* DISABLE_JAVA_NET */ + +#endif /* __JV_POSIX_H__ */ |