Skip to content

Commit

Permalink
- Fix for bug 14899 (patch by Sander Roobol <[email protected]>)
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Rethans committed Feb 1, 2002
1 parent 53d349a commit 32e9ea6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/gd/gd.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ PHP_FUNCTION(imagecreate)
PHP_FUNCTION(imagetypes)
{
int ret=0;
#ifdef HAVE_GD_GIF
#ifdef HAVE_GD_GIF_CREATE
ret = 1;
#endif
#ifdef HAVE_GD_JPG
Expand Down Expand Up @@ -1204,7 +1204,7 @@ PHP_FUNCTION(imagecreatefromgif)
#else /* HAVE_GD_GIF_READ */
php_error(E_WARNING, "ImageCreateFromGif: No GIF read support in this PHP build");
RETURN_FALSE;
#endif /* HAVE_GD_GIF */
#endif /* HAVE_GD_GIF_READ */
}
/* }}} */

Expand Down Expand Up @@ -1431,10 +1431,10 @@ PHP_FUNCTION(imagegif)
#else
_php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageGif);
#endif
#else /* HAVE_GD_GIF */
#else /* HAVE_GD_GIF_CREATE */
php_error(E_WARNING, "ImageGif: No GIF create support in this PHP build");
RETURN_FALSE;
#endif /* HAVE_GD_GIF */
#endif /* HAVE_GD_GIF_CREATE */
}
/* }}} */

Expand Down

0 comments on commit 32e9ea6

Please sign in to comment.