diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-12-11 22:25:23 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-12-11 22:25:23 +0000 |
| commit | 67aca57c3bceef935c3006821c1dd9cdacad496b (patch) | |
| tree | 754c66e99fda44fdf1d2cabc881b470bb4f53581 /ext/gd/php_gd.h | |
| parent | 5acfdf3ca1d01c069adf206364b0f98726ab030e (diff) | |
| download | php-git-67aca57c3bceef935c3006821c1dd9cdacad496b.tar.gz | |
Fixed build with non-bundled GD. Hidden the anti-alias functions when
non-bundled GD is used and made imagecreatefromxpm() unavailable because
of a bug in the external GD library.
Diffstat (limited to 'ext/gd/php_gd.h')
| -rw-r--r-- | ext/gd/php_gd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h index 10e92336d7..55f7ce137c 100644 --- a/ext/gd/php_gd.h +++ b/ext/gd/php_gd.h @@ -112,12 +112,14 @@ PHP_FUNCTION(imagecreatefromstring); PHP_FUNCTION(imagecreatefromgif); PHP_FUNCTION(imagecreatefromjpeg); PHP_FUNCTION(imagecreatefromxbm); -PHP_FUNCTION(imagecreatefromxpm); PHP_FUNCTION(imagecreatefrompng); PHP_FUNCTION(imagecreatefromwbmp); PHP_FUNCTION(imagecreatefromgd); PHP_FUNCTION(imagecreatefromgd2); PHP_FUNCTION(imagecreatefromgd2part); +#if defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED) +PHP_FUNCTION(imagecreatefromxpm); +#endif PHP_FUNCTION(imagegammacorrect); PHP_FUNCTION(imagedestroy); |
