From 7b277383efbbf5f01002de303c36dd141e966970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Fri, 4 Sep 2015 01:14:51 +0000 Subject: [PATCH] [VSSAPI] Compile the THISCALL calling convention support only for x86. On x64, we are automatically in THISCALL. Also I suggest we turn this file (and maybe also /lib/sdk/crt/except/i386/cpp.s) into a "msvc-thiscall.c" as it is already done in some other DLLs (like in ole32, riched20). Fixes build in x64. svn path=/trunk/; revision=68975 --- reactos/dll/win32/vssapi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/vssapi/CMakeLists.txt b/reactos/dll/win32/vssapi/CMakeLists.txt index a9865695931..cde727e172d 100644 --- a/reactos/dll/win32/vssapi/CMakeLists.txt +++ b/reactos/dll/win32/vssapi/CMakeLists.txt @@ -8,7 +8,7 @@ list(APPEND SOURCE ${CMAKE_CURRENT_BINARY_DIR}/vssapi_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/vssapi.def) -if(MSVC) +if(MSVC AND ARCH STREQUAL "i386") add_asm_files(vssapi_asm msvc.s) endif()