summaryrefslogtreecommitdiff
path: root/ext/gd/gdcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/gdcache.c')
-rw-r--r--ext/gd/gdcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gdcache.c b/ext/gd/gdcache.c
index 2643d802b6..e3ff9b83ad 100644
--- a/ext/gd/gdcache.c
+++ b/ext/gd/gdcache.c
@@ -44,7 +44,7 @@
#else
#include "php_config.h"
#endif
-#if HAVE_LIBTTF|HAVE_LIBFREETYPE
+#if (HAVE_LIBTTF | HAVE_LIBFREETYPE) && !defined(HAVE_GD_CACHE_CREATE)
#include "gdcache.h"