From 7c6ebddd74692f262fd49c8486e4818466fa5235 Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Sat, 15 Mar 2003 19:35:52 +0000 Subject: [PATCH] Protect the TEXTMETRIC struct from redefinition. --- include/wingdi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wingdi.h b/include/wingdi.h index 0a8723773e5..d2a0f92781d 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -762,6 +762,9 @@ typedef struct #define FF_SCRIPT 0x40 #define FF_DECORATIVE 0x50 +#ifndef _TEXTMETRIC_DEFINED +#define _TEXTMETRIC_DEFINED + typedef struct { LONG tmHeight; @@ -813,6 +816,7 @@ typedef struct DECL_WINELIB_TYPE_AW(TEXTMETRIC) DECL_WINELIB_TYPE_AW(PTEXTMETRIC) DECL_WINELIB_TYPE_AW(LPTEXTMETRIC) +#endif /* _TEXTMETRIC_DEFINED */ typedef struct tagPANOSE