summaryrefslogtreecommitdiff
path: root/ext/gd/gdcache.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-03-18 02:13:49 +0000
committerfoobar <sniper@php.net>2003-03-18 02:13:49 +0000
commit980bac69f9e28e57641162b930cc9aed7e951b06 (patch)
tree47f82a9f0f19d98635d4885531997f35acdff6fd /ext/gd/gdcache.c
parent14e9434586fecf1d73caa0430910fabf85fce743 (diff)
downloadphp-git-980bac69f9e28e57641162b930cc9aed7e951b06.tar.gz
Fixed bug #22751 (Compile error in gdcache when external libgd is used)
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"