natSocketChannelImpl.cc: Reverse logic for DISABLE_JAVA_NET.
2003-02-21 Michael Koch <konqueror@gmx.de> * gnu/java/nio/natSocketChannelImpl.cc: Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson <cato@df.lth.se> for pointing to it. From-SVN: r63212
This commit is contained in:
parent
9e7d0b92a9
commit
2d4fad8e02
@ -1,3 +1,9 @@
|
||||
2003-02-21 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* gnu/java/nio/natSocketChannelImpl.cc:
|
||||
Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
|
||||
<cato@df.lth.se> for pointing to it.
|
||||
|
||||
2003-02-20 Raif S. Naffah <raif@fl.net.au>
|
||||
|
||||
* java/math/BigInteger.java (euclidInv): Take result array as an
|
||||
|
@ -20,7 +20,7 @@ details. */
|
||||
#include <java/net/SocketException.h>
|
||||
|
||||
|
||||
#ifndef DISABLE_JAVA_NET
|
||||
#ifdef DISABLE_JAVA_NET
|
||||
|
||||
jint
|
||||
gnu::java::nio::SocketChannelImpl::SocketCreate ()
|
||||
@ -73,7 +73,7 @@ gnu::java::nio::SocketChannelImpl::SocketWrite (jint, jbyteArray, jint, jint)
|
||||
throw new ::java::net::SocketException (JvNewStringLatin1 ("SocketWrite: not implemented"));
|
||||
}
|
||||
|
||||
#else
|
||||
#else // DISABLE_JAVA_NET
|
||||
|
||||
jint
|
||||
gnu::java::nio::SocketChannelImpl::SocketCreate ()
|
||||
@ -169,4 +169,4 @@ gnu::java::nio::SocketChannelImpl::SocketWrite (jint fd, jbyteArray data,
|
||||
return result;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // DISABLE_JAVA_NET
|
||||
|
Loading…
Reference in New Issue
Block a user