Am Mittwoch, den 30.06.2010, 22:13 +0200 schrieb John-Mark Bell
<jmb(a)netsurf-browser.org>:
No, this is not the correct approach. If you need to detect the
version
of freetype in use, include FT_FREETYPE_H and conditionalise on the
values of FREETYPE_MAJOR, FREETYPE_MINOR, and FREETYPE_PATCH.
I believed including ft2build.h is only okay for newer versions of
freetype and I didn't wanted to break compatibility with the old versions.
In this case, even this is unnecessary. The correct fix is to
include
the freetype headers in the way expected by freetype. This is what I
have done in r10591.
Thanks,
Ole