Fix: [MinGW32] Linking error

This commit is contained in:
glx22 2021-05-13 23:48:28 +02:00 committed by Loïc Guilloux
parent 2df48a78cc
commit b7250a42e1
1 changed files with 1 additions and 1 deletions

View File

@ -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