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

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2018-11-11 20:42:55 +01:00 committed by Alexandre Julliard
parent da6b0ca6e6
commit a514aa7653
1 changed files with 2 additions and 1 deletions

View File

@ -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");