summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/php_gd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h
index 0f12a8c258..008bb5d7d7 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -25,7 +25,9 @@
#define HAVE_GDIMAGECREATEFROMPNG 1
#if HAVE_LIBFREETYPE
-#define ENABLE_GD_TTF
+# ifndef ENABLE_GD_TTF
+# define ENABLE_GD_TTF
+# endif
#endif
#if HAVE_LIBGD