* src/image.c (FRAME_SCALE_FACTOR): Define only when needed.
This commit is contained in:
parent
0445720b75
commit
9ab51428cd
1 changed files with 2 additions and 0 deletions
|
@ -135,11 +135,13 @@ typedef struct ns_bitmap_record Bitmap_Record;
|
|||
# define COLOR_TABLE_SUPPORT 1
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RSVG
|
||||
#if defined HAVE_NS
|
||||
# define FRAME_SCALE_FACTOR(f) ns_frame_scale_factor (f)
|
||||
#else
|
||||
# define FRAME_SCALE_FACTOR(f) 1;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void image_disable_image (struct frame *, struct image *);
|
||||
static void image_edge_detection (struct frame *, struct image *, Lisp_Object,
|
||||
|
|
Loading…
Add table
Reference in a new issue