Fix ICOM_DEFINE for C++.

This commit is contained in:
Peter Hunnisett 2002-02-21 20:09:42 +00:00 committed by Alexandre Julliard
parent df30690e04
commit 063b077df0
1 changed files with 2 additions and 2 deletions

View File

@ -423,14 +423,14 @@ INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax);
#ifdef ICOM_USE_COM_INTERFACE_ATTRIBUTE #ifdef ICOM_USE_COM_INTERFACE_ATTRIBUTE
#define ICOM_DEFINE(iface,ibase) \ #define ICOM_DEFINE(iface,ibase) \
typedef struct iface: public ibase { \ struct iface: public ibase { \
iface##_METHODS \ iface##_METHODS \
} __attribute__ ((com_interface)); } __attribute__ ((com_interface));
#else #else
#define ICOM_DEFINE(iface,ibase) \ #define ICOM_DEFINE(iface,ibase) \
typedef struct iface: public ibase { \ struct iface: public ibase { \
iface##_METHODS \ iface##_METHODS \
}; };