mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-06 00:43:41 +03:00
Merge pull request #427 from stromnov/master
fix compiling with FreeType 2.5.1
This commit is contained in:
commit
fa7f9aa6d5
|
@ -59,7 +59,11 @@ struct {
|
||||||
const char* message;
|
const char* message;
|
||||||
} ft_errors[] =
|
} ft_errors[] =
|
||||||
|
|
||||||
|
#if defined(USE_FREETYPE_2_1)
|
||||||
|
#include FT_ERRORS_H
|
||||||
|
#else
|
||||||
#include <freetype/fterrors.h>
|
#include <freetype/fterrors.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* -------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------- */
|
||||||
/* font objects */
|
/* font objects */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user