summaryrefslogtreecommitdiff
path: root/ext/gd/php_gd.h
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2013-05-04 16:51:56 +0200
committerRemi Collet <remi@php.net>2013-05-04 16:51:56 +0200
commit00b097d2a3bb36dd639311b1175582d81f5cc554 (patch)
tree75aa14996b7be8c290e96fb0dbd11b88a3e279b8 /ext/gd/php_gd.h
parent2a2ac5f2bef6a779477c76d34c346ac9044185af (diff)
downloadphp-git-00b097d2a3bb36dd639311b1175582d81f5cc554.tar.gz
fix build with bundled libgd
Diffstat (limited to 'ext/gd/php_gd.h')
-rw-r--r--ext/gd/php_gd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h
index c9c9e9de90..269c315e88 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -28,7 +28,7 @@
# endif
#endif
-#if HAVE_LIBGD
+#if defined(HAVE_LIBGD) || defined(HAVE_GD_BUNDLED)
/* open_basedir and safe_mode checks */
#define PHP_GD_CHECK_OPEN_BASEDIR(filename, errormsg) \