diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2002-12-04 23:21:30 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2002-12-04 23:21:30 +0000 |
commit | 4c749f08c03831b18879db3722aea8bc1c0b3358 (patch) | |
tree | ab56570d0ebe66279333658d9d9c745fc6280de0 | |
parent | 8d4b717518f5c77b89a3de53d546a4a127fa8d2c (diff) | |
download | php-git-4c749f08c03831b18879db3722aea8bc1c0b3358.tar.gz |
Fix build
-rw-r--r-- | ext/gd/gd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 98d15579e6..bf4b358679 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1422,9 +1422,11 @@ static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, 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; |