stage0 修复windows函数没有进入宏包装

This commit is contained in:
zzy committed 2026-08-14 20:42:11 +08:00
1 parent 2a7db9e48c
commit 78d767bf21
1 file changed
+1 -1
+1 -1
View File
@@ -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;