diff options
author | KUDr <KUDr@openttd.org> | 2007-02-27 23:12:45 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2007-02-27 23:12:45 +0000 |
commit | a7d9cbc15107609324d7a21bd81295e29d23af1b (patch) | |
tree | 19b93e311b3e1bcb7a09dda5b4ecb03a841fabfa /src/win32.cpp | |
parent | 1168c5beb3c92d814eee4242dd9eba76857c32d4 (diff) | |
download | openttd-a7d9cbc15107609324d7a21bd81295e29d23af1b.tar.xz |
(svn r8933) -Fix [Win64]: rdtsc now uses intrinsic on VC8 (michi_cc)
Diffstat (limited to 'src/win32.cpp')
-rw-r--r-- | src/win32.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |