Author: hbelusca
Date: Fri Sep 4 01:14:51 2015
New Revision: 68975
URL: http://svn.reactos.org/svn/reactos?rev=68975&view=rev
Log:
[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.
Modified:
trunk/reactos/dll/win32/vssapi/CMakeLists.txt
Modified: trunk/reactos/dll/win32/vssapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/vssapi/CMakeLists.txt?rev=68975&r1=68974&r2=68975&view=diff
==============================================================================
--- trunk/reactos/dll/win32/vssapi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/vssapi/CMakeLists.txt [iso-8859-1] Fri Sep 4
01:14:51 2015
@@ -8,7 +8,7 @@
${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()