[URLMON] Define PROXY_CLSID_IS on the command line
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 20 Jan 2025 10:29:24 +0000 (12:29 +0200)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 22 Jan 2025 11:38:18 +0000 (13:38 +0200)
Fixes crash of mshtml_winetest:htmldoc (introduced by 716613c). Please do not ask me why.
The test started crashing with commit 716613cddc8039eff5f095051dc9a79727a25e73 "[CMAKE] Use new policies for CMP0005 and CMP0018 (#1481)", which moved this definition from the command line to urlmon_main.h. This got later removed by commit 6c3c2e33f63b9e621497807591555304ecdd37ec "[URLMON] Sync with Wine Staging 4.18. CORE-16441"

dll/win32/urlmon/CMakeLists.txt

index 6b5bef1..6475c18 100644 (file)
@@ -4,7 +4,8 @@ add_definitions(
     -D_URLMON_
     -DENTRY_PREFIX=URLMON_
     -DPROXY_DELEGATION
-    -DWINE_REGISTER_DLL)
+    -DWINE_REGISTER_DLL
+    -DPROXY_CLSID_IS={0x79EAC9F1,0xBAF9,0x11CE,{0x8C,0x82,0x00,0xAA,0x00,0x4B,0xA9,0x0B}})
 
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 spec2def(urlmon.dll urlmon.spec ADD_IMPORTLIB)