emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0c1099d6d8: * src/image.c (syms_of_image): Declare support for we


From: Po Lu
Subject: master 0c1099d6d8: * src/image.c (syms_of_image): Declare support for webp on Haiku.
Date: Sun, 9 Jan 2022 00:03:02 -0500 (EST)

branch: master
commit 0c1099d6d840dfa470741f4e710c4ae63cecc26e
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * src/image.c (syms_of_image): Declare support for webp on Haiku.
---
 src/image.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/image.c b/src/image.c
index e7d347b782..700705de22 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]