summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Yip <yipdw@alumni.rose-hulman.edu>2006-05-25 16:38:43 +0000
committerdwyip <dwyip@users.sourceforge.net>2006-05-25 16:38:43 +0000
commitc69936bc9def356db9ef380ee29f9ee2b92c9df3 (patch)
treef03f8e47c72a37e2be7d19d70907ecd915ccb275 /src
parentfix for backwards compatibility with FreeType 2.1.x (diff)
downloadinkscape-c69936bc9def356db9ef380ee29f9ee2b92c9df3.tar.gz
inkscape-c69936bc9def356db9ef380ee29f9ee2b92c9df3.zip
#define -> typedef
(bzr r1005)
Diffstat (limited to 'src')
-rw-r--r--src/libnrtype/FontInstance.cpp4
1 files 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