diff options
Diffstat (limited to 'libjava/prims.cc')
-rw-r--r-- | libjava/prims.cc | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/libjava/prims.cc b/libjava/prims.cc index ec6263c..995206c 100644 --- a/libjava/prims.cc +++ b/libjava/prims.cc @@ -9,16 +9,7 @@ Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details. */ #include <config.h> - -#ifdef WIN32 -#include <windows.h> -#undef STRICT -#endif /* WIN32 */ - -#ifdef WIN32 -#undef __INSIDE_CYGWIN__ -#include <winsock.h> -#endif /* WIN32 */ +#include <platform.h> #include <stdlib.h> #include <stdarg.h> @@ -731,23 +722,6 @@ _Jv_ThisExecutable (const char *name) } } -#ifdef WIN32 - -extern "C" int* win32_get_restart_frame (void *); - -LONG CALLBACK -win32_exception_handler (LPEXCEPTION_POINTERS e) -{ - if (e->ExceptionRecord->ExceptionCode == EXCEPTION_ACCESS_VIOLATION) - _Jv_ThrowNullPointerException(); - else if (e->ExceptionRecord->ExceptionCode == EXCEPTION_INT_DIVIDE_BY_ZERO) - throw new java::lang::ArithmeticException; - else - return EXCEPTION_CONTINUE_SEARCH; -} - -#endif - #ifndef DISABLE_GETENV_PROPERTIES static char * |