dwrite_2.idl: Protect from D3DCOLORVALUE redefinition.
This commit is contained in:
parent
e5d7982c4d
commit
099146a6f9
|
@ -47,6 +47,7 @@ typedef struct DWRITE_TEXT_METRICS1
|
|||
FLOAT heightIncludingTrailingWhitespace;
|
||||
} DWRITE_TEXT_METRICS1;
|
||||
|
||||
cpp_quote("#ifndef D3DCOLORVALUE_DEFINED")
|
||||
typedef struct _D3DCOLORVALUE
|
||||
{
|
||||
union {
|
||||
|
@ -66,6 +67,8 @@ typedef struct _D3DCOLORVALUE
|
|||
FLOAT dvA;
|
||||
};
|
||||
} D3DCOLORVALUE;
|
||||
cpp_quote("#define D3DCOLORVALUE_DEFINED")
|
||||
cpp_quote("#endif")
|
||||
|
||||
typedef D3DCOLORVALUE DWRITE_COLOR_F;
|
||||
|
||||
|
|
Loading…
Reference in New Issue