From e1a0d23b9f528ec288a63e0ea0351721b55d1293 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sun, 10 Feb 2008 18:35:20 +0000 Subject: [PATCH] Fix a comptaible issue with dxsdk and vc, our dxsdk want the name #define __wtypes_h__ (same as windows psdk) this fix a comptiable issue with vc as well, wine ldl can not name a idl correct so I hardcode in this name svn path=/trunk/; revision=32269 --- reactos/include/psdk/wtypes.idl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/include/psdk/wtypes.idl b/reactos/include/psdk/wtypes.idl index 844fda74c09..e41544a6111 100644 --- a/reactos/include/psdk/wtypes.idl +++ b/reactos/include/psdk/wtypes.idl @@ -29,6 +29,9 @@ import "guiddef.h"; interface IWinTypes { +cpp_quote("#ifndef __wtypes_h__ ") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/ +cpp_quote("#define __wtypes_h__ ") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/ + /******************** BASIC WIN32 TYPES ********************/ cpp_quote("#if 0 /* winnt.h */") /* don't redefine these */ @@ -812,4 +815,5 @@ typedef union switch(DWORD tyspec) } ByObjectId; } uCLSSPEC; +cpp_quote("#endif") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/ } /* interface IWinTypes */