Changed: Don't include Freetype headers in .h
--HG-- branch : develop
This commit is contained in:
parent
d769a22686
commit
7271eb4f03
1 changed files with 6 additions and 2 deletions
|
@ -21,8 +21,12 @@
|
||||||
#undef NL_DONT_USE_EXTERNAL_CODE
|
#undef NL_DONT_USE_EXTERNAL_CODE
|
||||||
|
|
||||||
#ifndef NL_DONT_USE_EXTERNAL_CODE
|
#ifndef NL_DONT_USE_EXTERNAL_CODE
|
||||||
#include <ft2build.h>
|
|
||||||
#include FT_FREETYPE_H
|
// forward declarations to avoid including freetype.h in headers
|
||||||
|
typedef int FT_Error;
|
||||||
|
typedef struct FT_LibraryRec_ *FT_Library;
|
||||||
|
typedef struct FT_FaceRec_* FT_Face;
|
||||||
|
|
||||||
#else // NL_DONT_USE_EXTERNAL_CODE
|
#else // NL_DONT_USE_EXTERNAL_CODE
|
||||||
|
|
||||||
#endif // NL_DONT_USE_EXTERNAL_CODE
|
#endif // NL_DONT_USE_EXTERNAL_CODE
|
||||||
|
|
Loading…
Reference in a new issue