changeset 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 51f98bc8ce67
children 79b1d98aa241
files src/term.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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 *));