From 5f139de511f6039d7d5ec554f5692945125e8b81 Mon Sep 17 00:00:00 2001 From: "KJK::Hyperion" Date: Fri, 9 Jan 2009 16:50:17 +0000 Subject: [PATCH] Preparing for future widl sync modified ReactOS-i386.rbuild Define USE_COMPILER_EXCEPTIONS because we don't need SEH hacks in RPC stubs (neener neener) modified include/psdk/wtypes.idl modified include/psdk/xmldom.idl Include guard format will change in widl: pre-emptively work around it svn path=/trunk/; revision=38670 --- reactos/ReactOS-i386.rbuild | 2 ++ reactos/include/psdk/wtypes.idl | 6 +++++- reactos/include/psdk/xmldom.idl | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/reactos/ReactOS-i386.rbuild b/reactos/ReactOS-i386.rbuild index ae727575ce1..7b82e8a15a5 100644 --- a/reactos/ReactOS-i386.rbuild +++ b/reactos/ReactOS-i386.rbuild @@ -14,6 +14,8 @@ + + diff --git a/reactos/include/psdk/wtypes.idl b/reactos/include/psdk/wtypes.idl index 8378012fd0e..ff9c5e418ff 100644 --- a/reactos/include/psdk/wtypes.idl +++ b/reactos/include/psdk/wtypes.idl @@ -21,6 +21,10 @@ import "basetsd.h"; import "guiddef.h"; +cpp_quote("#ifndef __wtypes_h__") +cpp_quote("#define __wtypes_h__") +cpp_quote("#endif") + [ uuid(D3980A60-910C-1068-9341-00DD010F2F1C), version(0.1), @@ -789,7 +793,7 @@ typedef struct tagQUERYCONTEXT DWORD dwVersionLo; } QUERYCONTEXT; -typedef [v1_enum] enum tagTYSPEC +typedef [v1_enum] enum tagTYSPEC { TYSPEC_CLSID, TYSPEC_FILEEXT, diff --git a/reactos/include/psdk/xmldom.idl b/reactos/include/psdk/xmldom.idl index 31c5e6628a1..89263c4b75c 100644 --- a/reactos/include/psdk/xmldom.idl +++ b/reactos/include/psdk/xmldom.idl @@ -21,6 +21,10 @@ import "ocidl.idl"; +cpp_quote("#ifndef __xmldom_h__") +cpp_quote("#define __xmldom_h__") +cpp_quote("#endif") + interface IXMLDOMImplementation; interface IXMLDOMNode; interface IXMLDOMDocumentFragment;