summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-12-01 20:59:21 +0100
committerBram Moolenaar <Bram@vim.org>2011-12-01 20:59:21 +0100
commit2bbafdbcee74daded585de769cede94e8ea7d00c (patch)
tree0d1a4c4fe08951f4d43b4f20c2ef54bcd7ad7ef8 /src/term.c
parent3388bb4847af9003623fd004ccd3e6bb05475c81 (diff)
downloadvim-git-2bbafdbcee74daded585de769cede94e8ea7d00c.tar.gz
updated for version 7.3.364v7.3.364
Problem: Can't compile on HP-UX. (John Marriott) Solution: Only use TTYM_URXVT when it is defined.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 6e3400bd1..f40d39a06 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4060,7 +4060,11 @@ check_termcode(max_offset, buf, buflen)
if (tp[1 + (tp[0] != CSI)] == '>' && j == 2)
{
/* if xterm version >= 95 use mouse dragging */
- if (extra >= 95 && ttym_flags != TTYM_URXVT)
+ if (extra >= 95
+# ifdef TTYM_URXVT
+ && ttym_flags != TTYM_URXVT
+# endif
+ )
set_option_value((char_u *)"ttym", 0L,
(char_u *)"xterm2", 0);
/* if xterm version >= 141 try to get termcap codes */