From: José Fonseca Date: Tue, 10 Jan 2012 20:19:24 +0000 (+0000) Subject: Fix Win64 build. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=b89fa487b2d7eeaefabddb390f82467cee1bf0da;p=apitrace Fix Win64 build. --- 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