Problem: Compiler warning on non-Unix system.
Solution: Add #ifdef. (John Marriott)
{
if (s != NULL && *s)
{
+#ifdef HAVE_TGETENT
char_u *p;
+#endif
#ifdef FEAT_GUI
/* Don't use tputs() when GUI is used, ncurses crashes. */
tputs((char *)p, 1, TPUTSFUNCAST out_char_nf);
*s = save_c;
out_flush();
-#ifdef ELAPSED_FUNC
+# ifdef ELAPSED_FUNC
/* Only sleep here if we can limit this happening in
* vim_beep(). */
p = vim_strchr(s, '>');
++p;
do_sleep(duration);
}
-#else
+# else
/* Rely on the terminal library to sleep. */
p = s;
-#endif
+# endif
break;
}
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 690,
/**/
689,
/**/