* include/wtypes.h (DECIMAL_SETZERO): Add definition for

NONAMELESSUNION case.
This commit is contained in:
Danny Smith 2004-03-03 20:24:08 +00:00
parent 4149d576c3
commit e299c7addc
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-03-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/wtypes.h (DECIMAL_SETZERO): Add definition for
NONAMELESSUNION case.
2004-03-03 Martin Fuchs <martin-fuchs@gmx.net>
* include/oleauto.h (V_UNION, V_VT, V_DECIMAL): Use

View File

@ -15,7 +15,11 @@ extern "C" {
#define CLSID_NULL GUID_NULL
#define CBPCLIPDATA(d) ((d).cbSize-sizeof((d).ulClipFmt))
#define DECIMAL_NEG ((BYTE)0x80)
#ifdef NONAMELESSUNION
#define DECIMAL_SETZERO(d) {(d).DUMMYUNIONNAME2.Lo64=(d).Hi32=(d).DUMMYUNIONNAME.signscale=0;}
#else
#define DECIMAL_SETZERO(d) {(d).Lo64=(d).Hi32=(d).signscale=0;}
#endif
#define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x01
#define ROTFLAGS_ALLOWANYCLIENT 0x02