diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-07-27 15:32:18 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-07-27 15:32:18 +0300 |
commit | 3266513eb7b7972cc63884338f821ca774a06cfa (patch) | |
tree | 9e8c1c846783bfe6dd258ce8d064bcf509c23ff2 /src/image.c | |
parent | 70096743d5bed2c4c0221da32ebf824ad6a262c5 (diff) | |
download | emacs-3266513eb7b7972cc63884338f821ca774a06cfa.tar.gz |
Fix Cairo build without PNG
* src/image.c: Define PNG function when USE_CAIRO is defined, even
if HAVE_PNG is not. (Bug#21133)
Diffstat (limited to 'src/image.c')
-rw-r--r-- | src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index cf96cae0385..066db74f786 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. */ |