mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Added C++ terminate function.
svn path=/trunk/; revision=6246
This commit is contained in:
parent
03195d93a6
commit
64591816e3
2 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: cpp.c,v 1.3 2003/08/20 21:41:22 gvg Exp $
|
||||
/* $Id: cpp.c,v 1.4 2003/10/05 18:13:26 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS C runtime
|
||||
|
@ -536,3 +536,8 @@ void _CxxThrowException( void *object, cxx_exception_type *type )
|
|||
args[2] = (DWORD)type;
|
||||
RaiseException( CXX_EXCEPTION, EH_NONCONTINUABLE, 3, args );
|
||||
}
|
||||
|
||||
void MSVCRT_terminate(void)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: msvcrt.def,v 1.24 2003/09/08 09:56:56 weiden Exp $
|
||||
; $Id: msvcrt.def,v 1.25 2003/10/05 18:13:27 navaraf Exp $
|
||||
;
|
||||
; ReactOS MSVCRT Compatibility Library
|
||||
;
|
||||
|
@ -59,7 +59,7 @@ EXPORTS
|
|||
;?set_new_handler@@YAP6AXXZP6AXXZ@Z
|
||||
;?set_terminate@@YAP6AXXZP6AXXZ@Z
|
||||
;?set_unexpected@@YAP6AXXZP6AXXZ@Z
|
||||
;?terminate@@YAXXZ
|
||||
?terminate@@YAXXZ=MSVCRT_terminate
|
||||
;?unexpected@@YAXXZ
|
||||
;?what@exception@@UBEPBDXZ
|
||||
;----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue