Ah, I also supposed it should be like # if HAVE_LIBGD20
but the patch to HEAD seemed ok, so I had it merged in copy'n'paste way. I'm going to fix them soon. Thanks, Moriyoshi Derick Rethans <[EMAIL PROTECTED]> wrote: > On Sat, 23 Nov 2002, Moriyoshi Koizumi wrote: > > > moriyoshi Sat Nov 23 00:20:43 2002 EDT > > > > Modified files: (Branch: PHP_4_3) > > /php4/ext/gd gd.c > > Log: > > MFH (imagecolordeallocate() fix) > > > > > > + #if HAVE_LIBGD20 > > + /* We can return right away for a truecolor image as deallocating colours is >meaningless here */ > > + if (gdImageTrueColor(im)) { > > + RETURN_TRUE; > > + } > > + #endif > > Preprocessor macro's should always be in the first column, otherwise > some compilers may choke on it. > > regards, > Derick > > > > -- > > --------------------------------------------------------------------------- > Derick Rethans http://derickrethans.nl/ > JDI Media Solutions > --------------[ if you hold a unix shell to your ear, do you hear the c? ]- > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php