Hi all,

After applying this patch vim fails to compile on file term.c under HP-UX complaining of undefined symbols ttym_flags and TTYM_URXVT.

The attached patch seems to fix.

Cheers
John


--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
*** term.c      2011-12-01 10:08:43.000000000 +1100
--- term.fix.c  2011-12-01 10:08:30.000000000 +1100
***************
*** 4060,4066 ****
--- 4060,4070 ----
                    if (tp[1 + (tp[0] != CSI)] == '>' && j == 2)
                    {
                        /* if xterm version >= 95 use mouse dragging */
+ #if defined(FEAT_MOUSE) && (defined(UNIX) || defined(VMS))
                        if (extra >= 95 && ttym_flags != TTYM_URXVT)
+ #else
+                       if (extra >= 95)
+ #endif
                            set_option_value((char_u *)"ttym", 0L,
                                                       (char_u *)"xterm2", 0);
                        /* if xterm version >= 141 try to get termcap codes */

Raspunde prin e-mail lui