emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 3266513: Fix Cairo build without PNG


From: Eli Zaretskii
Subject: [Emacs-diffs] master 3266513: Fix Cairo build without PNG
Date: Mon, 27 Jul 2015 12:33:05 +0000

branch: master
commit 3266513eb7b7972cc63884338f821ca774a06cfa
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix Cairo build without PNG
    
    * src/image.c: Define PNG function when USE_CAIRO is defined, even
    if HAVE_PNG is not.  (Bug#21133)
---
 src/image.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/image.c b/src/image.c
index cf96cae..066db74 100644
--- a/src/image.c
+++ b/src/image.c
@@ -5642,7 +5642,7 @@ png_image_p (Lisp_Object object)
 #endif /* HAVE_PNG || HAVE_NS || USE_CAIRO */
 
 
-#if defined HAVE_PNG && !defined HAVE_NS
+#if (defined HAVE_PNG && !defined HAVE_NS) || defined USE_CAIRO
 
 # ifdef WINDOWSNT
 /* PNG library details.  */



reply via email to

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