cvs: php4 /ext/gd gd.c
| From: | Derick Rethans | Date: | Fri, 03 Nov 2000 20:44:04 +0000 |
| Subject: | cvs: php4 /ext/gd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2467@lists.php.net to get a copy of this message | ||
derick Fri Nov 3 12:44:04 2000 EDT
Modified files:
/php4/ext/gd gd.c
Log:
- Fixed gd by adding a define
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.96 php4/ext/gd/gd.c:1.97
--- php4/ext/gd/gd.c:1.96 Fri Nov 3 12:31:36 2000
+++ php4/ext/gd/gd.c Fri Nov 3 12:44:04 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.96 2000/11/03 20:31:36 derick Exp $ */
+/* $Id: gd.c,v 1.97 2000/11/03 20:44:04 derick Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -493,6 +493,7 @@
}
else if (!memcmp(data, php_sig_gif, 3))
return PHP_GDIMG_TYPE_GIF;
+#ifdef HAVE_GD_WMBP
else {
gdIOCtx *io_ctx;
io_ctx = gdNewDynamicCtx (8, data);
@@ -504,6 +505,7 @@
io_ctx->free(io_ctx);
}
}
+#endif
return -1;
}