1
0
mirror of https://github.com/php/php-src.git synced 2026-04-10 01:23:53 +02:00

- Fixed gd by adding a define

This commit is contained in:
Derick Rethans
2000-11-03 20:44:04 +00:00
parent 0d04945bfa
commit 848d353880

View File

@@ -493,6 +493,7 @@ static int _php_image_type (char data[8])
}
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 @@ static int _php_image_type (char data[8])
io_ctx->free(io_ctx);
}
}
#endif
return -1;
}