From b7250a42e1e069b77bf52e76da20e7efea441b05 Mon Sep 17 00:00:00 2001 From: glx22 Date: Thu, 13 May 2021 23:48:28 +0200 Subject: Fix: [MinGW32] Linking error --- src/os/windows/crashlog_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os') diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp index 0e1d2f8cc..1d3ed5193 100644 --- a/src/os/windows/crashlog_win.cpp +++ b/src/os/windows/crashlog_win.cpp @@ -633,7 +633,7 @@ static void CDECL CustomAbort(int signal) mov safe_esp, esp } # else - asm("movl %esp, _safe_esp"); + asm("movl %%esp, %0" : "=rm" (safe_esp)); # endif _safe_esp = safe_esp; #endif -- cgit v1.2.3-70-g09d2