From de251e1c62651d8160b340a4fb9d0f9834a8e538 Mon Sep 17 00:00:00 2001 From: Shunichi Fuji Date: Wed, 3 Sep 2008 20:14:17 +0900 Subject: [PATCH] gdi32: Adjust FT_MulFix function to Freetype cvs head. --- dlls/gdi32/freetype.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index cb351db7693..74e70ea2714 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -163,7 +163,11 @@ MAKE_FUNCPTR(FT_Get_Sfnt_Table); MAKE_FUNCPTR(FT_Init_FreeType); MAKE_FUNCPTR(FT_Load_Glyph); MAKE_FUNCPTR(FT_Matrix_Multiply); +#ifdef FT_MULFIX_INLINED +#define pFT_MulFix FT_MULFIX_INLINED +#else MAKE_FUNCPTR(FT_MulFix); +#endif MAKE_FUNCPTR(FT_New_Face); MAKE_FUNCPTR(FT_New_Memory_Face); MAKE_FUNCPTR(FT_Outline_Get_Bitmap); @@ -2434,7 +2438,9 @@ static BOOL init_freetype(void) LOAD_FUNCPTR(FT_Init_FreeType) LOAD_FUNCPTR(FT_Load_Glyph) LOAD_FUNCPTR(FT_Matrix_Multiply) +#ifndef FT_MULFIX_INLINED LOAD_FUNCPTR(FT_MulFix) +#endif LOAD_FUNCPTR(FT_New_Face) LOAD_FUNCPTR(FT_New_Memory_Face) LOAD_FUNCPTR(FT_Outline_Get_Bitmap)