To: vim_dev@googlegroups.com Subject: Patch 8.1.0287 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.0287 Problem: MAX is not defined everywhere. Solution: Define MAX where needed. Files: src/ex_getln.c *** ../vim-8.1.0286/src/ex_getln.c 2018-08-14 21:32:17.618865046 +0200 --- src/ex_getln.c 2018-08-14 22:06:55.372214929 +0200 *************** *** 13,18 **** --- 13,22 ---- #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 *** ../vim-8.1.0286/src/version.c 2018-08-14 21:32:17.622865020 +0200 --- src/version.c 2018-08-14 22:07:40.275897998 +0200 *************** *** 796,797 **** --- 796,799 ---- { /* Add new patch number below this line */ + /**/ + 287, /**/ -- BEDEVERE: Stand by for attack!! [CUT TO enormous army forming up. Trebuchets, rows of PIKEMEN, siege towers, pennants flying, shouts of "Stand by for attack!" Traditional army build-up shots. The shouts echo across the ranks of the army. We see various groups reacting, and stirring themselves in readiness.] ARTHUR: Who are they? BEDEVERE: Oh, just some friends! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///