rpcrt4/tests [1/2]: Make server.idl compatible with MIDL

Dan Hipschman dsh at linux.ucla.edu
Fri Oct 5 15:50:54 CDT 2007


This patch makes it possible to compile server.idl using MIDL without
having to comment out the implicit_handle line.  MIDL expects this in
a separate ACF file, which isn't implemented by widl.  This saves me
a few seconds each time I want to compile server.idl with MIDL, which
gets annoying after a while.

---
 dlls/rpcrt4/tests/server.idl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/rpcrt4/tests/server.idl b/dlls/rpcrt4/tests/server.idl
index d8a1ca3..69ae1d6 100644
--- a/dlls/rpcrt4/tests/server.idl
+++ b/dlls/rpcrt4/tests/server.idl
@@ -29,7 +29,9 @@ typedef struct tag_vector
 
 [
   uuid(00000000-4114-0704-2301-000000000000),
+#ifndef __midl
   implicit_handle(handle_t IServer_IfHandle)
+#endif
 ]
 interface IServer
 {



More information about the wine-patches mailing list