# HG changeset patch # User Kim F. Storm # Date 1143067652 0 # Node ID 8b3e0cacc3589ff3b2ef8d8e258322f968c1fde2 # Parent 51f98bc8ce6703251fcd6718f5d799ebbafbcfa9 Define aliases for append_glyph and produce_stretch_glyph when `static' is defined to avoid name clash with those in xdisp.c. diff -r 51f98bc8ce67 -r 8b3e0cacc358 src/term.c --- 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 *));