Author: greatlrd Date: Sun Feb 10 21:35:20 2008 New Revision: 32269
URL: http://svn.reactos.org/svn/reactos?rev=32269&view=rev Log: 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
Modified: trunk/reactos/include/psdk/wtypes.idl
Modified: trunk/reactos/include/psdk/wtypes.idl URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/wtypes.idl?rev... ============================================================================== --- trunk/reactos/include/psdk/wtypes.idl (original) +++ trunk/reactos/include/psdk/wtypes.idl Sun Feb 10 21:35:20 2008 @@ -29,6 +29,9 @@
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 @@ } ByObjectId; } uCLSSPEC;
+cpp_quote("#endif") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/ } /* interface IWinTypes */