mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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"
|
||||
|
||||
#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
|
||||
|
Reference in New Issue
Block a user