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:
committed by
Michael Koch
parent
9e7d0b92a9
commit
2d4fad8e02
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user