We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd53e7f commit 00f4a0fCopy full SHA for 00f4a0f
dll/win32/riched20/CMakeLists.txt
@@ -36,6 +36,11 @@ add_library(riched20 MODULE
36
version.rc
37
${CMAKE_CURRENT_BINARY_DIR}/riched20.def)
38
39
+if(MSVC AND ARCH STREQUAL "i386")
40
+ # MSVC doesn't support __thiscall in C code
41
+ target_compile_definitions(riched20 PRIVATE __ASM_USE_THISCALL_WRAPPER)
42
+endif()
43
+
44
add_typelib(riched_tom.idl)
45
add_dependencies(riched20 stdole2)
46
set_module_type(riched20 win32dll)
0 commit comments