From: Po Lu Date: Sun, 9 Jan 2022 05:00:37 +0000 (+0000) Subject: * src/image.c (syms_of_image): Declare support for webp on Haiku. X-Git-Tag: emacs-29.0.90~3186 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0c1099d6d840dfa470741f4e710c4ae63cecc26e;p=emacs.git * src/image.c (syms_of_image): Declare support for webp on Haiku. --- diff --git a/src/image.c b/src/image.c index e7d347b7820..700705de22e 100644 --- a/src/image.c +++ b/src/image.c @@ -11457,7 +11457,8 @@ non-numeric, there is no explicit limit on the size of images. */); add_image_type (Qpng); #endif -#if defined (HAVE_WEBP) +#if defined (HAVE_WEBP) || (defined (HAVE_NATIVE_IMAGE_API) \ + && defined (HAVE_BE_APP)) DEFSYM (Qwebp, "webp"); add_image_type (Qwebp); #endif