From 937204a9175d0fe2f13c8bc4ebeb043003d7e7d7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 Jan 2016 23:37:38 +0100 Subject: [PATCH] patch 7.4.1219 Problem: Build fails with +channel but without +float. Solution: Add #ifdef. --- src/ex_cmds.c | 6 +++++- src/version.c | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 9b2a1932f..ba3efac9b 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -520,7 +520,11 @@ ex_sort(exarg_T *eap) if (regmatch.regprog != NULL) end_col = 0; - if (sort_nr || sort_flt) + if (sort_nr +#ifdef FEAT_FLOAT + || sort_flt +#endif + ) { /* Make sure vim_str2nr doesn't read any digits past the end * of the match, by temporarily terminating the string there */ diff --git a/src/version.c b/src/version.c index dd2f95d48..1eab3eea5 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1219, /**/ 1218, /**/ -- 2.50.1