Skip to content

Commit 7a7b388

Browse files
committed
ext/gd: Move FREETYPE defines into the ifdef
1 parent b647716 commit 7a7b388

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/gd/gd.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -3311,10 +3311,11 @@ PHP_FUNCTION(imagegetclip)
33113311
}
33123312
/* }}} */
33133313

3314+
#ifdef HAVE_GD_FREETYPE
3315+
33143316
#define TTFTEXT_DRAW 0
33153317
#define TTFTEXT_BBOX 1
33163318

3317-
#ifdef HAVE_GD_FREETYPE
33183319
/* {{{ Give the bounding box of a text using fonts via freetype2 */
33193320
PHP_FUNCTION(imageftbbox)
33203321
{

0 commit comments

Comments
 (0)