diff options
| author | Philipp Stephani | 2017-06-09 01:27:39 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-06-09 01:27:39 +0200 |
| commit | 517c704a6360356e62752f581c71b38a479e2f59 (patch) | |
| tree | 08ef1dd7323e95841e48bff62d577a0cf70446d9 /src | |
| parent | 6e00ffe317797ead28ac45f9b609e35553bcdbd1 (diff) | |
| download | emacs-517c704a6360356e62752f581c71b38a479e2f59.tar.gz emacs-517c704a6360356e62752f581c71b38a479e2f59.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c index 3ebf469e8b3..429777ce511 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -1269,8 +1269,7 @@ image_background_transparent (struct image *img, struct frame *f, XImagePtr_or_D | |||
| 1269 | return img->background_transparent; | 1269 | return img->background_transparent; |
| 1270 | } | 1270 | } |
| 1271 | 1271 | ||
| 1272 | #if defined (HAVE_PNG) || defined (HAVE_NS) \ | 1272 | #if defined (HAVE_PNG) || defined (HAVE_IMAGEMAGICK) || defined (HAVE_RSVG) |
| 1273 | || defined (HAVE_IMAGEMAGICK) || defined (HAVE_RSVG) | ||
| 1274 | 1273 | ||
| 1275 | /* Store F's background color into *BGCOLOR. */ | 1274 | /* Store F's background color into *BGCOLOR. */ |
| 1276 | static void | 1275 | static void |
| @@ -1284,7 +1283,7 @@ x_query_frame_background_color (struct frame *f, XColor *bgcolor) | |||
| 1284 | #endif | 1283 | #endif |
| 1285 | } | 1284 | } |
| 1286 | 1285 | ||
| 1287 | #endif /* HAVE_PNG || HAVE_NS || HAVE_IMAGEMAGICK || HAVE_RSVG */ | 1286 | #endif /* HAVE_PNG || HAVE_IMAGEMAGICK || HAVE_RSVG */ |
| 1288 | 1287 | ||
| 1289 | /*********************************************************************** | 1288 | /*********************************************************************** |
| 1290 | Helper functions for X image types | 1289 | Helper functions for X image types |