4
0
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:
Danny Smith 2007-07-25 10:21:53 +00:00
parent fdcfcea4fc
commit 0cb2de3de0
2 changed files with 12 additions and 6 deletions

View File

@ -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> 2007-07-18 Corinna Vinschen <corinna@vinschen.de>
* include/winnt.h (SE_TRUSTED_CREDMAN_ACCESS_NAME): Define. * include/winnt.h (SE_TRUSTED_CREDMAN_ACCESS_NAME): Define.

View File

@ -14,12 +14,6 @@ extern "C" {
#define IID_NULL GUID_NULL #define IID_NULL GUID_NULL
#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)
#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_REGISTRATIONKEEPSALIVE 0x01
#define ROTFLAGS_ALLOWANYCLIENT 0x02 #define ROTFLAGS_ALLOWANYCLIENT 0x02
@ -163,6 +157,13 @@ typedef struct tagDEC {
ULONGLONG Lo64; ULONGLONG Lo64;
} DUMMYUNIONNAME2; } DUMMYUNIONNAME2;
} DECIMAL; } 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; typedef void *HMETAFILEPICT;
#ifdef __cplusplus #ifdef __cplusplus
} }