From fbd6a88d02035fad651a342f74221dc152342451 Mon Sep 17 00:00:00 2001 From: KUDr Date: Tue, 27 Feb 2007 23:12:45 +0000 Subject: (svn r8933) -Fix [Win64]: rdtsc now uses intrinsic on VC8 (michi_cc) --- src/win32.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/win32.cpp') diff --git a/src/win32.cpp b/src/win32.cpp index b59621aa6..396c38d82 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -606,10 +606,13 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep) return EXCEPTION_EXECUTE_HANDLER; } +#ifdef _M_AMD64 +extern "C" void *_get_save_esp(void); +#endif + static void Win32InitializeExceptions(void) { #ifdef _M_AMD64 - extern void *_get_save_esp(void); _safe_esp = _get_save_esp(); #else _asm { -- cgit v1.2.3-54-g00ecf