diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2002-10-29 23:08:01 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2002-10-29 23:08:01 +0000 |
| commit | a24534a1ed1a38024fba0c5fe5374effb7432d0b (patch) | |
| tree | d60c061c3cec25d29c4d99026eee958b75aa4a34 /ext/gd/libgd/gd2topng.c | |
| parent | 8c95cefac6db0ec18002e9c46b55895c584c8c07 (diff) | |
| download | php-git-a24534a1ed1a38024fba0c5fe5374effb7432d0b.tar.gz | |
Update bundled gd library with relevant changes from gd-2.0.4
I still need to add a configure check for the gdIOCtx struct
changes so building against older external gd libs will work again.
Diffstat (limited to 'ext/gd/libgd/gd2topng.c')
| -rw-r--r-- | ext/gd/libgd/gd2topng.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd2topng.c b/ext/gd/libgd/gd2topng.c index c898f25e18..6db5eb3003 100644 --- a/ext/gd/libgd/gd2topng.c +++ b/ext/gd/libgd/gd2topng.c @@ -37,7 +37,11 @@ main (int argc, char **argv) gdImageDestroy (im); exit (1); } +#ifdef HAVE_LIBPNG gdImagePng (im, out); +#else + fprintf(stderr, "No PNG library support available.\n"); +#endif fclose (out); gdImageDestroy (im); |
