summaryrefslogtreecommitdiff
path: root/ext/gd/gd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/gd.c')
-rw-r--r--ext/gd/gd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 4d5a278f1a..f56299977e 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -2600,7 +2600,7 @@ PHP_FUNCTION(imagecreatefromwebp)
/* }}} */
#endif /* HAVE_GD_VPX */
-#ifdef HAVE_GD_WEBP
+#ifdef HAVE_GD_XBM
/* {{{ proto resource imagecreatefromxbm(string filename)
Create a new image from XBM file or URL */
PHP_FUNCTION(imagecreatefromxbm)