stage0 修复windows函数没有进入宏包装
This commit is contained in:
@@ -429,6 +429,7 @@ static int spl_type_size(spl_type_t t) {
|
||||
PUSH(_r); \
|
||||
} while (0)
|
||||
|
||||
#ifdef _WIN32
|
||||
// 辅助函数:将异常代码转为可读字符串
|
||||
const char *ExceptionCodeToString(DWORD code) {
|
||||
switch (code) {
|
||||
@@ -478,7 +479,6 @@ const char *ExceptionCodeToString(DWORD code) {
|
||||
}
|
||||
|
||||
// 全局未处理异常过滤器
|
||||
#ifdef _WIN32
|
||||
LONG WINAPI UnhandledExceptionFilterImpl(EXCEPTION_POINTERS *pExceptionInfo) {
|
||||
// 获取异常记录和上下文
|
||||
PEXCEPTION_RECORD record = pExceptionInfo->ExceptionRecord;
|
||||
|
||||
Reference in New Issue
Block a user