MINGW-packages/mingw-w64-aegisub/0004-workaround-wxGlobalSEInformation-not-found.patch
2025-03-05 09:26:06 +05:30

21 lines
498 B
Diff

--- a/src/crash_writer_minidump.cpp
+++ b/src/crash_writer_minidump.cpp
@@ -31,8 +31,6 @@
#include <Windows.h>
#include <DbgHelp.h>
-extern EXCEPTION_POINTERS *wxGlobalSEInformation;
-
namespace {
wchar_t crash_dump_path[MAX_PATH];
agi::fs::path crashlog_path;
@@ -131,7 +129,7 @@
}
void Write() {
- dump_thread->ep = wxGlobalSEInformation;
+ dump_thread->ep = nullptr;
dump_thread->thread_id = GetCurrentThreadId();
dump_thread->start_cv.notify_all();
dump_thread->thread.join();