cvs: php4(PHP_4_3) /ext/gd gd.c

From: Date: Wed, 04 Dec 2002 23:43:06 +0000
Subject: cvs: php4(PHP_4_3) /ext/gd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16910@lists.php.net to get a copy of this message
iliaa Wed Dec 4 18:43:06 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/gd gd.c Log: MFH (build fix, when xpm support is not avaliable). Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.221.2.4 php4/ext/gd/gd.c:1.221.2.5 --- php4/ext/gd/gd.c:1.221.2.4 Wed Dec 4 16:07:09 2002 +++ php4/ext/gd/gd.c Wed Dec 4 18:43:06 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.221.2.4 2002/12/04 21:07:09 iliaa Exp $ */ +/* $Id: gd.c,v 1.221.2.5 2002/12/04 23:43:06 iliaa Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -1358,9 +1358,11 @@ case PHP_GDIMG_TYPE_GD2PART: im = (*func_p)(fp, Z_LVAL_PP(srcx), Z_LVAL_PP(srcy), Z_LVAL_PP(width), Z_LVAL_PP(height)); break; +#ifdef HAVE_GD_XPM case PHP_GDIMG_TYPE_XPM: im = gdImageCreateFromXpm(fn); break; +#endif default: im = (*func_p)(fp); break;

« previous php.cvs (#16910) next »