* include/aclui.h: Replace __OBJC__ guard with _OBJC_NO_COM.
* include/basetyps.h: Likewise. (_COM_interface): New define. (interface): Define to _COM_interface, conditional on !__OBJC__. Replace 'interface' with '_COM_interface', throughout. * include/comcat.h: Replace 'interface' with '_COM_interface', throughout. * include/commdlg.h: Replace __OBJC__ guard with _OBJC_NO_COM. * include/docobj.h: Replace 'interface' with '_COM_interface', throughout. * include/mshtml.h: Likewise. * include/oaidl.h: Likewise. * include/objfwd.h: Likewise. * include/objidl.h: Likewise. * include/ocidl.h: Likwise. * include/olectl.h: Likewise. * include/oleidl.h: Likewise. * include/shlobj.h: Likewise. * include/shlwapi.h: Replace __OBJC__ guard with _OBJC_NO_COM. * include/vfw.h: Likewise. * include/windows.h. Likewise. Add comment. * include/directx/d3d9.h: Replace 'interface' with '_COM_interface', throughout. * lib/test.c: Replace __OBJC__ guard with _OBJC_NO_COM. Add test for conflict with '@interface'
This commit is contained in:
@ -458,7 +458,7 @@ DECLARE_ENUMERATOR(STATPROPSETSTG);
|
||||
DECLARE_ENUMERATOR(STATPROPSTG);
|
||||
DECLARE_ENUMERATOR(STATSTG);
|
||||
DECLARE_ENUMERATOR_(IEnumString,LPOLESTR);
|
||||
DECLARE_ENUMERATOR_(IEnumMoniker,interface IMoniker*);
|
||||
DECLARE_ENUMERATOR_(IEnumMoniker,_COM_interface IMoniker*);
|
||||
DECLARE_ENUMERATOR_(IEnumUnknown,IUnknown*);
|
||||
|
||||
EXTERN_C const IID IID_ISequentialStream;
|
||||
@ -854,7 +854,7 @@ DECLARE_INTERFACE_(IPSFactoryBuffer,IUnknown)
|
||||
STDMETHOD(CreateStub)(THIS_ REFIID,LPUNKNOWN,LPRPCSTUBBUFFER*) PURE;
|
||||
};
|
||||
#undef INTERFACE
|
||||
typedef interface IPSFactoryBuffer *LPPSFACTORYBUFFER;
|
||||
typedef _COM_interface IPSFactoryBuffer *LPPSFACTORYBUFFER;
|
||||
|
||||
EXTERN_C const IID IID_ILockBytes;
|
||||
#define INTERFACE ILockBytes
|
||||
|
Reference in New Issue
Block a user