* include/freetype/freetype.h: Check that ft2build.h has been

loaded first.
This commit is contained in:
Werner Lemberg 2003-11-02 08:58:53 +00:00
parent 40bb0964f2
commit 3f7ff6afbe
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-11-01 Werner Lemberg <wl@gnu.org>
* include/freetype/freetype.h: Check that ft2build.h has been
loaded first.
2003-10-31 Detlef Würkner <TetiSoft@apg.lahn.de>
* src/base/fttype1.c (FT_Get_PS_Font_Info, FT_Has_PS_Glyph_Names):

View File

@ -16,6 +16,15 @@
/***************************************************************************/
#ifndef __FT2_BUILD_GENERIC_H__
#error "`ft2build.h' hasn't been included yet!"
#error "Please always use macros to include FreeType header files."
#error "Example:"
#error " #include <ft2build.h>"
#error " #include FT_FREETYPE_H"
#endif
#ifndef __FREETYPE_H__
#define __FREETYPE_H__