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:
parent
70096743d5
commit
3266513eb7
1 changed files with 1 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue