From: Eli Zaretskii <eliz@gnu.org>
Date: Fri, 22 Jan 2021 12:16:51 +0000 (+0200)
Subject: Fix last change for DOS_NT systems
X-Git-Tag: emacs-28.0.90~4158
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=561197e519c5adc33622c2e5519693d270f6262b;p=emacs.git

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.
---

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