natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New define.

2002-08-27  Tony Kimball <alk@pobox.com>
            Tom Tromey  <tromey@redhat.com>

	* java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
	define.
	(::close): Removed.
	(PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
	* java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
	(::close): Removed.
	(PlainSocketImpl::close): Use NATIVE_CLOSE.
	* include/win32.h (getcwd): Removed declaration.  Include io.h.

Co-Authored-By: Tom Tromey <tromey@redhat.com>

From-SVN: r56605
This commit is contained in:
Tony Kimball 2002-08-27 16:08:31 +00:00 committed by Tom Tromey
parent 8632ed40b6
commit 835cb22e3b
4 changed files with 24 additions and 15 deletions

View file

@ -19,8 +19,7 @@ details. */
#include <gcj/cni.h>
#include <java/util/Properties.h>
// FIXME: remove this once the io.h issue is resolved
extern "C" char* getcwd (char*, int);
#include <io.h>
extern void _Jv_platform_initialize (void);
extern void _Jv_platform_initProperties (java::util::Properties*);