widl: filter_func isn't used when USE_COMPILER_EXCEPTIONS is defined
Christoph von Wittich
Christoph at ApiViewer.de
Thu Feb 5 05:37:33 CST 2009
tools/widl/proxy.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c
index 0dcb737..88c0e53 100644
--- a/tools/widl/proxy.c
+++ b/tools/widl/proxy.c
@@ -122,10 +122,12 @@ static void init_proxy(const statement_list_t *stmts)
print_proxy( " void *This;\n");
print_proxy( "};\n");
print_proxy( "\n");
+ print_proxy("#ifndef USE_COMPILER_EXCEPTIONS\n");
print_proxy("static int __proxy_filter( struct __proxy_frame *__frame
)\n");
print_proxy( "{\n");
print_proxy( " return (__frame->_StubMsg.dwStubPhase !=
PROXY_SENDRECEIVE);\n");
print_proxy( "}\n");
+ print_proxy("#endif /* USE_COMPILER_EXCEPTIONS */\n");
print_proxy( "\n");
}
More information about the wine-patches
mailing list