]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/image.c (syms_of_image): Declare support for webp on Haiku.
authorPo Lu <luangruo@yahoo.com>
Sun, 9 Jan 2022 05:00:37 +0000 (05:00 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 9 Jan 2022 05:00:37 +0000 (05:00 +0000)
src/image.c

index e7d347b7820c41dde52543ae73f0574874c13422..700705de22ef0f586e3fa5ae48897ec5b8d47b47 100644 (file)
@@ -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