moriyoshi Sat Nov 23 19:59:41 2002 EDT
Modified files:
/php4/ext/gd gd.c
Log:
Fixed the macro so this can be compiled with ft1
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.227 php4/ext/gd/gd.c:1.228
--- php4/ext/gd/gd.c:1.227 Sat Nov 23 17:11:59 2002
+++ php4/ext/gd/gd.c Sat Nov 23 19:59:41 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.227 2002/11/23 22:11:59 moriyoshi Exp $ */
+/* $Id: gd.c,v 1.228 2002/11/24 00:59:41 moriyoshi Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -416,7 +416,7 @@
*/
PHP_RSHUTDOWN_FUNCTION(gd)
{
-#if HAVE_LIBGD20
+#if HAVE_LIBGD20 && HAVE_GD_STRINGFT
gdFreeFontCache();
#endif
return SUCCESS;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php