diff options
author | glx22 <glx@openttd.org> | 2021-05-13 23:48:28 +0200 |
---|---|---|
committer | Loïc Guilloux <glx22@users.noreply.github.com> | 2021-06-10 23:17:29 +0200 |
commit | b7250a42e1e069b77bf52e76da20e7efea441b05 (patch) | |
tree | d2c356e66e0cede63c5a1c1289861f9dc2ebd966 /src/os/windows | |
parent | 2df48a78ccf617da3c1b4304353a59adbe51b431 (diff) | |
download | openttd-b7250a42e1e069b77bf52e76da20e7efea441b05.tar.xz |
Fix: [MinGW32] Linking error
Diffstat (limited to 'src/os/windows')
-rw-r--r-- | src/os/windows/crashlog_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |