mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/gd: Move FREETYPE defines into the ifdef
This commit is contained in:
@@ -3311,10 +3311,11 @@ PHP_FUNCTION(imagegetclip)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
#ifdef HAVE_GD_FREETYPE
|
||||
|
||||
#define TTFTEXT_DRAW 0
|
||||
#define TTFTEXT_BBOX 1
|
||||
|
||||
#ifdef HAVE_GD_FREETYPE
|
||||
/* {{{ Give the bounding box of a text using fonts via freetype2 */
|
||||
PHP_FUNCTION(imageftbbox)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user