Prevent CY type from being redefined.

This commit is contained in:
Jon Griffiths 2004-04-15 04:59:22 +00:00 committed by Alexandre Julliard
parent 5b338a87d8
commit 347081d532
2 changed files with 6 additions and 0 deletions

View file

@ -617,6 +617,8 @@ typedef struct tagCY {
} CY;
#else
#ifndef _tagCY_DEFINED
#define _tagCY_DEFINED
typedef union tagCY {
struct {
#ifdef WORDS_BIGENDIAN
@ -630,6 +632,7 @@ typedef union tagCY {
LONGLONG int64;
} CY;
#endif
#endif
typedef CY *LPCY;
#if 0

View file

@ -570,6 +570,8 @@ typedef struct tagCY {
LONGLONG int64;
} CY;
cpp_quote("#else") /* C/C++ defs */
cpp_quote("#ifndef _tagCY_DEFINED")
cpp_quote("#define _tagCY_DEFINED")
cpp_quote("typedef union tagCY {")
cpp_quote(" struct {")
cpp_quote("#ifdef WORDS_BIGENDIAN")
@ -583,6 +585,7 @@ cpp_quote(" } DUMMYSTRUCTNAME;")
cpp_quote(" LONGLONG int64;")
cpp_quote("} CY;")
cpp_quote("#endif")
cpp_quote("#endif")
typedef CY *LPCY;