Mercurial > emacs
diff src/term.c @ 91010:aaccdab0ee26
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 852-856)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 93-96)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 245)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-249
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Tue, 21 Aug 2007 04:54:03 +0000 |
| parents | f55f9811f5d7 fa95c556638e |
| children | bdb3fe0ba9fa |
line wrap: on
line diff
--- a/src/term.c Mon Aug 20 11:24:57 2007 +0000 +++ b/src/term.c Tue Aug 21 04:54:03 2007 +0000 @@ -2350,15 +2350,22 @@ #ifndef WINDOWSNT +/* Declare here rather than in the function, as in the rest of Emacs, + to work around an HPUX compiler bug (?). See + http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html */ +static int default_max_colors; +static int default_max_pairs; +static int default_no_color_video; +static char *default_orig_pair; +static char *default_set_foreground; +static char *default_set_background; + /* Save or restore the default color-related capabilities of this terminal. */ static void tty_default_color_capabilities (save) int save; { - static char - *default_orig_pair, *default_set_foreground, *default_set_background; - static int default_max_colors, default_max_pairs, default_no_color_video; if (save) {
