mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* include/wtypes.h (LPDECIMAL): Define.
(DECIMAL_NEG, DECIMAL_SETZERO): Move definitions.
This commit is contained in:
parent
fdcfcea4fc
commit
0cb2de3de0
@ -1,3 +1,8 @@
|
||||
2007-07-25 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/wtypes.h (LPDECIMAL): Define.
|
||||
(DECIMAL_NEG, DECIMAL_SETZERO): Move definitions.
|
||||
|
||||
2007-07-18 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/winnt.h (SE_TRUSTED_CREDMAN_ACCESS_NAME): Define.
|
||||
|
@ -14,12 +14,6 @@ extern "C" {
|
||||
#define IID_NULL GUID_NULL
|
||||
#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
|
||||
|
||||
@ -163,6 +157,13 @@ typedef struct tagDEC {
|
||||
ULONGLONG Lo64;
|
||||
} DUMMYUNIONNAME2;
|
||||
} DECIMAL;
|
||||
typedef DECIMAL *LPDECIMAL;
|
||||
#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
|
||||
typedef void *HMETAFILEPICT;
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user