rasmus Wed Dec 4 18:21:31 2002 EDT
Modified files:
/php4/ext/gd gd.c
Log:
Fix build
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.233 php4/ext/gd/gd.c:1.234
--- php4/ext/gd/gd.c:1.233 Wed Dec 4 15:58:03 2002
+++ php4/ext/gd/gd.c Wed Dec 4 18:21:30 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.233 2002/12/04 20:58:03 iliaa Exp $ */
+/* $Id: gd.c,v 1.234 2002/12/04 23:21:30 rasmus Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1422,9 +1422,11 @@
case PHP_GDIMG_TYPE_GD2PART:
im = (*func_p)(fp, Z_LVAL_PP(srcx), Z_LVAL_PP(srcy),
Z_LVAL_PP(width), Z_LVAL_PP(height));
break;
+#ifdef HAVE_GD_XPM
case PHP_GDIMG_TYPE_XPM:
im = gdImageCreateFromXpm(fn);
break;
+#endif
default:
im = (*func_p)(fp);
break;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php