cvs: php4 /ext/gd gd.c

From: Date: Fri, 09 Feb 2001 21:04:46 +0000
Subject: cvs: php4 /ext/gd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3967@lists.php.net to get a copy of this message
hholzgra Fri Feb 9 13:04:46 2001 EDT Modified files: /php4/ext/gd gd.c Log: libjpeg-not-installed protection Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.112 php4/ext/gd/gd.c:1.113 --- php4/ext/gd/gd.c:1.112 Thu Feb 1 07:40:34 2001 +++ php4/ext/gd/gd.c Fri Feb 9 13:04:45 2001 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.112 2001/02/01 15:40:34 stas Exp $ */ +/* $Id: gd.c,v 1.113 2001/02/09 21:04:45 hholzgra Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -2761,6 +2761,7 @@ } +#ifdef HAVE_GD_JPG /* _php_image_convert converts jpeg/png images to wbmp and resizes them as needed */ static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type ) { zval **f_org, **f_dest, **height, **width, **threshold; @@ -2938,6 +2939,8 @@ } WRONG_PARAM_COUNT; } +#endif /* HAVE_GD_JPG */ + #endif /* HAVE_GD_WBMP */

« previous php.cvs (#3967) next »