I couldn't get any IDL files to 'compile' without this fix. REFIID and others are defined in wtypes when included by WIDL, so it is not necessary to #define them here. Changelog: - Don't #define REFIID and others when included by WIDL Rob
Index: guiddef.h =================================================================== RCS file: /home/wine/wine/include/guiddef.h,v retrieving revision 1.5 diff -u -r1.5 guiddef.h --- guiddef.h 31 May 2002 23:06:48 -0000 1.5 +++ guiddef.h 20 Jun 2003 15:29:19 -0000 @@ -54,7 +54,7 @@ #define REFCLSID const CLSID & #define REFIID const IID & #define REFFMTID const FMTID & -#else /* !defined(__cplusplus) && !defined(CINTERFACE) */ +#elif !defined(__WIDL__) /* !defined(__cplusplus) && !defined(CINTERFACE) */ #define REFGUID const GUID* const #define REFCLSID const CLSID* const #define REFIID const IID* const