summaryrefslogtreecommitdiff
path: root/src/FreeType/ft.h
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-08-04 12:21:48 +0000
committerEgbert Eich <eich@suse.de>2004-08-04 12:21:48 +0000
commite521b8425894ae62ebe225af80e8b6f820df6ff8 (patch)
tree6a3f655bfa5aa4e76192b48ae045d1721d893543 /src/FreeType/ft.h
parent0cbe4e38042a21ee193b2fda42fa647e23f61758 (diff)
2.1.8 (Chisato Yamauchi). A small backward compatibility fix to make the freetype module build with freetype version < 2.1.7. Fixed/added some debugging code.
Diffstat (limited to 'src/FreeType/ft.h')
-rw-r--r--src/FreeType/ft.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FreeType/ft.h b/src/FreeType/ft.h
index 91c8d42..8ad8403 100644
--- a/src/FreeType/ft.h
+++ b/src/FreeType/ft.h
@@ -28,6 +28,8 @@ THE SOFTWARE.
#include <X11/Xfuncproto.h>
+#define FREETYPE_VERSION (FREETYPE_MAJOR * 1000000 + FREETYPE_MINOR * 1000 + FREETYPE_PATCH)
+
#undef DEBUG_TRUETYPE
#ifdef DEBUG_TRUETYPE