Commit a514aa76 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

widl: Don't make proxy vtbl const in interpreted mode.

parent da6b0ca6
......@@ -664,7 +664,8 @@ static void write_proxy(type_t *iface, unsigned int *proc_offset)
/* proxy vtable */
print_proxy( "static %sCINTERFACE_PROXY_VTABLE(%d) _%sProxyVtbl =\n",
need_delegation_indirect(iface) ? "" : "const ", count, iface->name);
(get_stub_mode() != MODE_Os || need_delegation_indirect(iface)) ? "" : "const ",
count, iface->name);
print_proxy( "{\n");
indent++;
print_proxy( "{\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment