Fix another compiler warning on macOS

* src/image.c (x_query_frame_background_color): Don't define if we
have NextStep but no image support.
This commit is contained in:
Philipp Stephani 2017-06-09 01:27:39 +02:00
parent 6e00ffe317
commit 517c704a63

View file

@ -1269,8 +1269,7 @@ image_background_transparent (struct image *img, struct frame *f, XImagePtr_or_D
return img->background_transparent;
}
#if defined (HAVE_PNG) || defined (HAVE_NS) \
|| defined (HAVE_IMAGEMAGICK) || defined (HAVE_RSVG)
#if defined (HAVE_PNG) || defined (HAVE_IMAGEMAGICK) || defined (HAVE_RSVG)
/* Store F's background color into *BGCOLOR. */
static void
@ -1284,7 +1283,7 @@ x_query_frame_background_color (struct frame *f, XColor *bgcolor)
#endif
}
#endif /* HAVE_PNG || HAVE_NS || HAVE_IMAGEMAGICK || HAVE_RSVG */
#endif /* HAVE_PNG || HAVE_IMAGEMAGICK || HAVE_RSVG */
/***********************************************************************
Helper functions for X image types