mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* include/wtypes.h (DECIMAL_SETZERO): Add definition for
NONAMELESSUNION case.
This commit is contained in:
parent
4149d576c3
commit
e299c7addc
@ -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>
|
2004-03-03 Martin Fuchs <martin-fuchs@gmx.net>
|
||||||
|
|
||||||
* include/oleauto.h (V_UNION, V_VT, V_DECIMAL): Use
|
* include/oleauto.h (V_UNION, V_VT, V_DECIMAL): Use
|
||||||
|
@ -15,7 +15,11 @@ extern "C" {
|
|||||||
#define CLSID_NULL GUID_NULL
|
#define CLSID_NULL GUID_NULL
|
||||||
#define CBPCLIPDATA(d) ((d).cbSize-sizeof((d).ulClipFmt))
|
#define CBPCLIPDATA(d) ((d).cbSize-sizeof((d).ulClipFmt))
|
||||||
#define DECIMAL_NEG ((BYTE)0x80)
|
#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;}
|
#define DECIMAL_SETZERO(d) {(d).Lo64=(d).Hi32=(d).signscale=0;}
|
||||||
|
#endif
|
||||||
#define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x01
|
#define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x01
|
||||||
#define ROTFLAGS_ALLOWANYCLIENT 0x02
|
#define ROTFLAGS_ALLOWANYCLIENT 0x02
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user