we check for the same version of freetype on all platforms, no need for an
2004-11-30 Sven Neumann <sven@gimp.org> * app/sanity.c: we check for the same version of freetype on all platforms, no need for an ifdef here.
This commit is contained in:

committed by
Sven Neumann

parent
c3e68d0c0d
commit
4a59b0ec7a
@ -137,15 +137,9 @@ sanity_check_freetype (void)
|
||||
FT_Int ft_micro_version;
|
||||
FT_Int ft_version;
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#define FT_REQUIRED_MAJOR 2
|
||||
#define FT_REQUIRED_MINOR 1
|
||||
#define FT_REQUIRED_MICRO 7
|
||||
#else
|
||||
#define FT_REQUIRED_MAJOR 2
|
||||
#define FT_REQUIRED_MINOR 1
|
||||
#define FT_REQUIRED_MICRO 7
|
||||
#endif
|
||||
|
||||
if (FT_Init_FreeType (&ft_library) != 0)
|
||||
g_error ("FT_Init_FreeType() failed");
|
||||
|
Reference in New Issue
Block a user