0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.0.0690: compiler warning on non-Unix system

Problem:    Compiler warning on non-Unix system.
Solution:   Add #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar 2017-06-29 22:27:24 +02:00
parent a693d0584b
commit c2226845eb
2 changed files with 7 additions and 3 deletions

View File

@ -2524,7 +2524,9 @@ out_str_cf(char_u *s)
{
if (s != NULL && *s)
{
#ifdef HAVE_TGETENT
char_u *p;
#endif
#ifdef FEAT_GUI
/* Don't use tputs() when GUI is used, ncurses crashes. */

View File

@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
690,
/**/
689,
/**/