mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.0.0866: Solaris also doesn't have MIN and MAX
Problem: Solaris also doesn't have MIN and MAX. Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi, closes #1939)
This commit is contained in:
@@ -92,9 +92,11 @@
|
|||||||
|
|
||||||
#if defined(FEAT_TERMINAL) || defined(PROTO)
|
#if defined(FEAT_TERMINAL) || defined(PROTO)
|
||||||
|
|
||||||
#ifdef WIN3264
|
#ifndef MIN
|
||||||
# define MIN(x,y) (x < y ? x : y)
|
# define MIN(x,y) ((x) < (y) ? (x) : (y))
|
||||||
# define MAX(x,y) (x > y ? x : y)
|
#endif
|
||||||
|
#ifndef MAX
|
||||||
|
# define MAX(x,y) ((x) > (y) ? (x) : (y))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "libvterm/include/vterm.h"
|
#include "libvterm/include/vterm.h"
|
||||||
|
@@ -769,6 +769,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 */
|
||||||
|
/**/
|
||||||
|
866,
|
||||||
/**/
|
/**/
|
||||||
865,
|
865,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user