patch 8.1.0287: MAX is not defined everywhere
Problem: MAX is not defined everywhere.
Solution: Define MAX where needed.
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 4af3904..d38fa4b 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -13,6 +13,10 @@
#include "vim.h"
+#ifndef MAX
+# define MAX(x,y) ((x) > (y) ? (x) : (y))
+#endif
+
/*
* Variables shared between getcmdline(), redrawcmdline() and others.
* These need to be saved when using CTRL-R |, that's why they are in a
diff --git a/src/version.c b/src/version.c
index 23bcbf8..efc214c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 287,
+/**/
286,
/**/
285,