summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-01-22 14:16:51 +0200
committerEli Zaretskii <eliz@gnu.org>2021-01-22 14:16:51 +0200
commit561197e519c5adc33622c2e5519693d270f6262b (patch)
tree454ad4956e3d23ed7da8c35afca39461d3d88e9f /src
parent463300d431a56c58ca7f1db9615046143f354a81 (diff)
downloademacs-561197e519c5adc33622c2e5519693d270f6262b.tar.gz
Fix last change for DOS_NT systems
* src/term.c (tty_draw_row_with_mouse_face) (tty_write_glyphs_with_face): Don't define on MSDOS and WINDOWSNT, as those have their own implementations of that.
Diffstat (limited to 'src')
-rw-r--r--src/term.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 37c06a560dd..1059b0669a7 100644
--- a/src/term.c
+++ b/src/term.c
@@ -790,6 +790,8 @@ tty_write_glyphs (struct frame *f, struct glyph *string, int len)
cmcheckmagic (tty);
}
+#ifndef DOS_NT
+
static void
tty_write_glyphs_with_face (register struct frame *f, register struct glyph *string,
register int len, register int face_id)
@@ -846,6 +848,8 @@ tty_write_glyphs_with_face (register struct frame *f, register struct glyph *str
cmcheckmagic (tty);
}
+#endif
+
/* An implementation of insert_glyphs for termcap frames. */
static void
@@ -2377,7 +2381,9 @@ frame's terminal). */)
Mouse
***********************************************************************/
-/* Implementation of draw_row_with_mouse_face for TTY/GPM. */
+#ifndef DOS_NT
+
+/* Implementation of draw_row_with_mouse_face for TTY/GPM and macOS. */
void
tty_draw_row_with_mouse_face (struct window *w, struct glyph_row *row,
int start_hpos, int end_hpos,
@@ -2409,6 +2415,8 @@ tty_draw_row_with_mouse_face (struct window *w, struct glyph_row *row,
cursor_to (f, save_y, save_x);
}
+#endif
+
#ifdef HAVE_GPM
void