natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out some functionality that isn't supported yet on WIN32.
2002-10-03 Adam Megacz <adam@xwt.org> * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out some functionality that isn't supported yet on WIN32. From-SVN: r57794
This commit is contained in:
parent
882affa8c6
commit
e662e109a1
@ -1,3 +1,8 @@
|
||||
2002-10-03 Adam Megacz <adam@xwt.org>
|
||||
|
||||
* natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
|
||||
some functionality that isn't supported yet on WIN32.
|
||||
|
||||
2002-10-03 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* Makefile.in: Rebuilt.
|
||||
|
@ -70,6 +70,9 @@ java::net::NetworkInterface::getRealNetworkInterfaces ()
|
||||
::java::util::Vector*
|
||||
java::net::NetworkInterface::getRealNetworkInterfaces ()
|
||||
{
|
||||
#ifdef WIN32
|
||||
throw new ::java::net::SocketException;
|
||||
#else
|
||||
int fd;
|
||||
int num_interfaces = 0;
|
||||
struct ifconf if_data;
|
||||
@ -136,6 +139,7 @@ java::net::NetworkInterface::getRealNetworkInterfaces ()
|
||||
::close (fd);
|
||||
|
||||
return ht;
|
||||
#endif /* WIN32 */
|
||||
}
|
||||
|
||||
#endif // DISABLE_JAVA_NET //
|
||||
|
Loading…
Reference in New Issue
Block a user