Protect the TEXTMETRIC struct from redefinition.

This commit is contained in:
Jon Griffiths 2003-03-15 19:35:52 +00:00 committed by Alexandre Julliard
parent 89b469fefe
commit 7c6ebddd74
1 changed files with 4 additions and 0 deletions

View File

@ -762,6 +762,9 @@ typedef struct
#define FF_SCRIPT 0x40 #define FF_SCRIPT 0x40
#define FF_DECORATIVE 0x50 #define FF_DECORATIVE 0x50
#ifndef _TEXTMETRIC_DEFINED
#define _TEXTMETRIC_DEFINED
typedef struct typedef struct
{ {
LONG tmHeight; LONG tmHeight;
@ -813,6 +816,7 @@ typedef struct
DECL_WINELIB_TYPE_AW(TEXTMETRIC) DECL_WINELIB_TYPE_AW(TEXTMETRIC)
DECL_WINELIB_TYPE_AW(PTEXTMETRIC) DECL_WINELIB_TYPE_AW(PTEXTMETRIC)
DECL_WINELIB_TYPE_AW(LPTEXTMETRIC) DECL_WINELIB_TYPE_AW(LPTEXTMETRIC)
#endif /* _TEXTMETRIC_DEFINED */
typedef struct tagPANOSE typedef struct tagPANOSE