Commit d771bd72 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

include: Avoid redefining the DWRITE_GLYPH_RUN_DESCRIPTION typedef.

Based on a patch by Alistair Leslie-Hughes. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c9f174f0
......@@ -404,14 +404,18 @@ struct DWRITE_GLYPH_RUN
UINT32 bidiLevel;
};
typedef struct DWRITE_GLYPH_RUN_DESCRIPTION
cpp_quote("#ifndef __d2d1_1_h__")
typedef struct DWRITE_GLYPH_RUN_DESCRIPTION DWRITE_GLYPH_RUN_DESCRIPTION;
cpp_quote("#endif /* __d2d1_1_h__ */")
struct DWRITE_GLYPH_RUN_DESCRIPTION
{
WCHAR const* localeName;
WCHAR const* string;
UINT32 stringLength;
UINT16 const* clusterMap;
UINT32 textPosition;
} DWRITE_GLYPH_RUN_DESCRIPTION;
};
typedef struct DWRITE_UNDERLINE
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment