Fix Cairo build without PNG

* src/image.c: Define PNG function when USE_CAIRO is defined, even
if HAVE_PNG is not.  (Bug#21133)
This commit is contained in:
Eli Zaretskii 2015-07-27 15:32:18 +03:00
parent 70096743d5
commit 3266513eb7

View file

@ -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. */