From b89fa487b2d7eeaefabddb390f82467cee1bf0da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 10 Jan 2012 20:19:24 +0000 Subject: [PATCH] Fix Win64 build. --- common/os_win32.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/os_win32.cpp b/common/os_win32.cpp index a020354..b35346e 100644 --- a/common/os_win32.cpp +++ b/common/os_win32.cpp @@ -262,9 +262,11 @@ unhandledExceptionHandler(PEXCEPTION_POINTERS pExceptionInfo) // Clear direction flag #ifdef _MSC_VER +#ifndef _WIN64 __asm { cld }; +#endif #else asm("cld"); #endif -- 2.43.0