diff src/term.c @ 69637:8b3e0cacc358

Define aliases for append_glyph and produce_stretch_glyph when `static' is defined to avoid name clash with those in xdisp.c.
author Kim F. Storm <storm@cua.dk>
date Wed, 22 Mar 2006 22:47:32 +0000
parents 4e22dd401a52
children 267a016fb147 c1e013e3dc0e e6bf73e43cf4
line wrap: on
line diff
--- a/src/term.c	Wed Mar 22 22:47:22 2006 +0000
+++ b/src/term.c	Wed Mar 22 22:47:32 2006 +0000
@@ -1629,6 +1629,12 @@
 		       Character Display Information
  ***********************************************************************/
 
+/* Avoid name clash with functions defined in xterm.c */
+#ifdef static
+#define append_glyph append_glyph_term
+#define produce_stretch_glyph produce_stretch_glyph_term
+#endif
+
 static void append_glyph P_ ((struct it *));
 static void produce_stretch_glyph P_ ((struct it *));