summaryrefslogtreecommitdiff
path: root/src/win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32.cpp')
-rw-r--r--src/win32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index 7c57c0746..3e315a037 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -671,13 +671,13 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
}
#ifdef _M_AMD64
-extern "C" void *_get_save_esp();
+extern "C" void *_get_safe_esp();
#endif
static void Win32InitializeExceptions()
{
#ifdef _M_AMD64
- _safe_esp = _get_save_esp();
+ _safe_esp = _get_safe_esp();
#else
_asm {
mov _safe_esp, esp