diff options
author | Rasmus Lerdorf <rasmus@php.net> | 1999-11-21 04:07:56 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 1999-11-21 04:07:56 +0000 |
commit | 1831279f0cbf162c17ec6743074c830917883985 (patch) | |
tree | 9e56d94b9f482d8205f5efa188349d23d417fcf3 /ext/gd/gdttf.c | |
parent | 64eac40e77dbdab517d7bd3041ad272f9ae82043 (diff) | |
download | php-git-1831279f0cbf162c17ec6743074c830917883985.tar.gz |
# Fix ColorResolve bogosity
Fix gd problems
Diffstat (limited to 'ext/gd/gdttf.c')
-rw-r--r-- | ext/gd/gdttf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/gd/gdttf.c b/ext/gd/gdttf.c index f2c1a03a9a..df1e549734 100644 --- a/ext/gd/gdttf.c +++ b/ext/gd/gdttf.c @@ -149,10 +149,9 @@ static void bitmapRelease( void *element ); /* local prototype */ char *gdttfchar(gdImage *im, int fg, font_t *font, int x, int y, TT_F26Dot6 x1, TT_F26Dot6 y1, TT_F26Dot6 *advance, TT_BBox **bbox, char **next); -/* This prototype is missing from gd.h */ -/* FIXME Since when does GD have this function??? My copy of 1.3 doesnt +#ifndef HAVE_GDIMAGECOLORRESOLVE + int gdImageColorResolve(gdImagePtr im, int r, int g, int b); -*/ /********************************************************************/ /* gdImageColorResolve is a replacement for the old fragment: */ @@ -203,6 +202,7 @@ gdImageColorResolve(gdImagePtr im, int r, int g, int b) im->open [op] = 0; return op; /* Return newly allocated color */ } +#endif /******************************************************************** * gdTcl_UtfToUniChar is borrowed from ... |