From 2e8d1e8035d1e83578df20c1b3362b3f557cef16 Mon Sep 17 00:00:00 2001 From: dwyip Date: Thu, 25 May 2006 16:38:43 +0000 Subject: [PATCH] #define -> typedef --- src/libnrtype/FontInstance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libnrtype/FontInstance.cpp b/src/libnrtype/FontInstance.cpp index 2b9b4e13f..615ddb685 100644 --- a/src/libnrtype/FontInstance.cpp +++ b/src/libnrtype/FontInstance.cpp @@ -96,9 +96,9 @@ typedef struct ft2_to_liv { /* *** BEGIN #if HACK *** */ #if FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 2 -#define FREETYPE_VECTOR FT_Vector const +typedef FT_Vector const FREETYPE_VECTOR; #else -#define FREETYPE_VECTOR FT_Vector +typedef FT_Vector FREETYPE_VECTOR; #endif // outline as returned by freetype -> livarot Path -- 2.39.5