Fix preprocessor warning.
* devel/ftoption.h, include/freetype/config/ftoption.h: Test whether TT_CONFIG_OPTION_SUBPIXEL_HINTING is defined before checking its value.
This commit is contained in:
parent
bffb7fe90b
commit
e5595784f4
@ -1,3 +1,11 @@
|
||||
2017-03-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix preprocessor warning.
|
||||
|
||||
* devel/ftoption.h, include/freetype/config/ftoption.h: Test whether
|
||||
TT_CONFIG_OPTION_SUBPIXEL_HINTING is defined before checking its
|
||||
value.
|
||||
|
||||
2017-03-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
`make multi' fixes; compiler warnings.
|
||||
|
@ -913,6 +913,7 @@ FT_BEGIN_HEADER
|
||||
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
||||
#define TT_USE_BYTECODE_INTERPRETER
|
||||
|
||||
#ifdef TT_CONFIG_OPTION_SUBPIXEL_HINTING
|
||||
#if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 1
|
||||
#define TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
|
||||
#endif
|
||||
@ -920,6 +921,7 @@ FT_BEGIN_HEADER
|
||||
#if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 2
|
||||
#define TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -922,6 +922,7 @@ FT_BEGIN_HEADER
|
||||
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
||||
#define TT_USE_BYTECODE_INTERPRETER
|
||||
|
||||
#ifdef TT_CONFIG_OPTION_SUBPIXEL_HINTING
|
||||
#if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 1
|
||||
#define TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
|
||||
#endif
|
||||
@ -929,6 +930,7 @@ FT_BEGIN_HEADER
|
||||
#if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 2
|
||||
#define TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user