1
0
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:
Gina Peter Banyard
2025-04-04 21:56:22 +01:00
parent b647716199
commit 7a7b388401

View File

@@ -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)
{