summaryrefslogtreecommitdiff
path: root/ext/gd/php_gd.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2007-04-04 01:58:24 +0000
committerPierre Joye <pajoye@php.net>2007-04-04 01:58:24 +0000
commit89ad25f1af3326c603b0d3f613742ed588aaf7f7 (patch)
tree6e47098b3d2da8b9569c46e8eca86ae0afe4c105 /ext/gd/php_gd.h
parente4749c609c51938f00d3dae3e626c7f3bc15b731 (diff)
downloadphp-git-89ad25f1af3326c603b0d3f613742ed588aaf7f7.tar.gz
- MFH: don't declare MSHUTDOWN if both cachesetup and t1lib are not used
Diffstat (limited to 'ext/gd/php_gd.h')
-rw-r--r--ext/gd/php_gd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h
index a3fdc4aa5f..528057a19f 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -66,7 +66,9 @@ extern zend_module_entry gd_module_entry;
/* gd.c functions */
PHP_MINFO_FUNCTION(gd);
PHP_MINIT_FUNCTION(gd);
+#if HAVE_LIBT1 || HAVE_GD_FONTMUTEX
PHP_MSHUTDOWN_FUNCTION(gd);
+#endif
#if HAVE_LIBGD20 && HAVE_GD_STRINGFT
PHP_RSHUTDOWN_FUNCTION(gd);
#endif