[multiple changes]

2000-03-15  Tom Tromey  <tromey@cygnus.com>

	* java/io/natFileDescriptorWin32.cc (winerr): Now static.

	* prims.cc (win32_exception_handler): Reformatted.

	* include/win32-threads.h (_Jv_HaveCondDestroy): New define.
	(_Jv_HaveMutexDestroy): Likewise.

2000-03-15 Jon Beniston <jb7216@bristol.ac.uk>

	* java/io/natFileDescriptorWin32.cc: New file.
	* java/io/natFileWin32.cc: New file.
	* java/net/natInetAddress.cc: Added conditional inclusion of
	Windows / Winsock headers.
	* java/net/natPlainDatagramSocketImpl.cc: Added conditional
	inclusion of Windows / Winsock headers.
	* java/net/natPlainSocketImpl.cc: Added conditional inclusion of
	Windows / Winsock headers.
	* include/win32-signal.h: New file.
	* include/win32-threads.h: New file.
	* win32-threads.cc: New file.
	* exception.cc (win32_get_restart_frame): New function.
	* prims.cc (win32_exception_handler): New function.
	(main_init) Performs Winsock initialisation.
	(main_init) Installs exeception handler.

From-SVN: r32567
This commit is contained in:
Tom Tromey 2000-03-15 22:03:19 +00:00
parent 1a7b4c697c
commit 878885b411
11 changed files with 1031 additions and 2 deletions

View file

@ -14,6 +14,17 @@ details. */
# define _REENTRANT 1
#endif
#ifdef USE_WINSOCK
#include <windows.h>
#include <winsock.h>
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#endif /* MAXHOSTNAMELEN */
#else
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@ -35,6 +46,8 @@ details. */
#include <netdb.h>
#endif
#endif /* USE_WINSOCK */
#include <gcj/cni.h>
#include <jvm.h>
#include <java/net/InetAddress.h>