emacs-diffs
[Top][All Lists]
Advanced

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

master 0347969bdf: Fix compilation errors when HAVE_GIF and not HAVE_WEB


From: Lars Ingebrigtsen
Subject: master 0347969bdf: Fix compilation errors when HAVE_GIF and not HAVE_WEBP
Date: Mon, 11 Apr 2022 08:54:56 -0400 (EDT)

branch: master
commit 0347969bdfa3ec689c49537a7b29f4a506f732a2
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix compilation errors when HAVE_GIF and not HAVE_WEBP
    
    * src/image.c: Enable the cache functions when HAVE_GIF, too
---
 src/image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/image.c b/src/image.c
index 967263e2c6..4b2a038cc1 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8433,7 +8433,7 @@ tiff_load (struct frame *f, struct image *img)
 
 
 
-#if defined (HAVE_WEBP)
+#if defined (HAVE_WEBP) || defined (HAVE_GIF)
 
 /* To speed animations up, we keep a cache (based on EQ-ness of the
    image spec/object) where we put the animator iterator.  */



reply via email to

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