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
This commit is contained in:
Hermès Bélusca-Maïto 2015-09-04 01:14:51 +00:00
parent 9ee2ac33d3
commit 7b277383ef

View file

@ -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()