summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/FontEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/FontEngine.cpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/FontEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/FontEngine.cpp b/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/FontEngine.cpp
index f8410535d5d..d3913bd7cc4 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/FontEngine.cpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-1.0.2/src/FontEngine.cpp
@@ -262,7 +262,7 @@ bool FontEngine::setCharSize (int ptSize) {
// handle API change in freetype version 2.2.1
-#if FREETYPE_MAJOR >= 2 && FREETYPE_MINOR >= 2 && FREETYPE_PATCH >= 1
+#if ((FREETYPE_MAJOR >> 16)|(FREETYPE_MINOR >> 8)|FREETYPE_PATCH) >= ((2>>16)|(2>>8)|1)
typedef const FT_Vector *FTVectorPtr;
#else
typedef FT_Vector *FTVectorPtr;