Changeset 21484 for trunk/include


Ignore:
Timestamp:
Nov 29, 2010, 2:14:00 PM (15 years ago)
Author:
dmik
Message:

obj_base.h: Typedef for structs isn't necessary in C++ mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/wine/obj_base.h

    r8935 r21484  
    458458
    459459#define ICOM_DEFINE(iface,ibase) \
    460     typedef struct iface: public ibase { \
     460    struct iface: public ibase { \
    461461        iface##_METHODS \
    462462            } __attribute__ ((com_interface));
     
    465465
    466466#define ICOM_DEFINE(iface,ibase) \
    467     typedef struct iface: public ibase { \
     467    struct iface: public ibase { \
    468468        iface##_METHODS \
    469469    };
     
    774774    ICOM_VFIELD(IUnknown);
    775775#if defined(ICOM_USE_COM_INTERFACE_ATTRIBUTE) && !defined(ICOM_CINTERFACE)
    776 } __attribute__ ((com_interface)); 
     776} __attribute__ ((com_interface));
    777777#else
    778778};
Note: See TracChangeset for help on using the changeset viewer.