mirror of
https://github.com/Chuyu-Team/VC-LTL5.git
synced 2026-10-22 08:26:09 +08:00
23 lines
429 B
C++
23 lines
429 B
C++
|
|
#include "framework.h"
|
|
#include "vcruntime_internal.h"
|
|
|
|
extern "C" int* __cdecl __processing_throw();
|
|
|
|
#if WindowsTargetPlatformMinVersion < __MakeVersion(10, 0, 14393)
|
|
|
|
extern "C" int __cdecl __uncaught_exceptions()
|
|
{
|
|
#ifdef __BuildWithMSVCRT
|
|
return *__processing_throw();
|
|
#else
|
|
auto ptd = __vcrt_getptd_noinit();
|
|
|
|
return ptd ? ptd->_ProcessingThrow : 0;
|
|
#endif
|
|
}
|
|
|
|
_LCRT_DEFINE_IAT_SYMBOL(__uncaught_exceptions);
|
|
|
|
#endif
|