2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
16 #define assert(_Expression) ((void)0)
20 #ifndef _CRT_TERMINATE_DEFINED
21 #define _CRT_TERMINATE_DEFINED
22 void __cdecl __MINGW_NOTHROW
exit(int _Code
) __MINGW_ATTRIB_NORETURN
;
23 _CRTIMP
void __cdecl __MINGW_NOTHROW
_exit(int _Code
) __MINGW_ATTRIB_NORETURN
;
24 #if !defined __NO_ISOCEXT /* extern stub in static libmingwex.a */
25 /* C99 function name */
26 void __cdecl
_Exit(int) __MINGW_ATTRIB_NORETURN
;
27 __CRT_INLINE __MINGW_ATTRIB_NORETURN
void __cdecl
_Exit(int status
)
31 #pragma push_macro("abort")
33 void __cdecl
__declspec(noreturn
) abort(void);
34 #pragma pop_macro("abort")
42 extern void __cdecl
_wassert(const wchar_t *_Message
,const wchar_t *_File
,unsigned _Line
);
49 #define assert(_Expression) (void)((!!(_Expression)) || (_wassert(_CRT_WIDE(#_Expression),_CRT_WIDE(__FILE__),__LINE__),0))