projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0445720
)
* src/image.c (FRAME_SCALE_FACTOR): Define only when needed.
author
Philipp Stephani
<phst@google.com>
Thu, 11 Mar 2021 10:04:57 +0000
(11:04 +0100)
committer
Philipp Stephani
<phst@google.com>
Thu, 11 Mar 2021 10:04:57 +0000
(11:04 +0100)
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index 485e08a66e0993231273c0ee5d66846ece367338..025ee72703c0702eaf3281d81bf20d79e918dbff 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-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,