mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.0287: MAX is not defined everywhere
Problem: MAX is not defined everywhere. Solution: Define MAX where needed.
This commit is contained in:
@@ -13,6 +13,10 @@
|
|||||||
|
|
||||||
#include "vim.h"
|
#include "vim.h"
|
||||||
|
|
||||||
|
#ifndef MAX
|
||||||
|
# define MAX(x,y) ((x) > (y) ? (x) : (y))
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Variables shared between getcmdline(), redrawcmdline() and others.
|
* Variables shared between getcmdline(), redrawcmdline() and others.
|
||||||
* These need to be saved when using CTRL-R |, that's why they are in a
|
* These need to be saved when using CTRL-R |, that's why they are in a
|
||||||
|
@@ -794,6 +794,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
287,
|
||||||
/**/
|
/**/
|
||||||
286,
|
286,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user