Mercurial > vim
changeset 23738:5a524e16570b v8.2.2410
patch 8.2.2410: build failure without the +profiling feature
Commit: https://github.com/vim/vim/commit/ff0e57fe77b1a87a034191c629730b081f6fb7ad
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 25 23:02:38 2021 +0100
patch 8.2.2410: build failure without the +profiling feature
Problem: Build failure without the +profiling feature.
Solution: Add dummy argument to macro.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Jan 2021 23:15:03 +0100 |
parents | 34b4eb3a8458 |
children | b028d0cf96da |
files | src/version.c src/vim9.h |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2410, +/**/ 2409, /**/ 2408,
--- a/src/vim9.h +++ b/src/vim9.h @@ -415,6 +415,6 @@ extern garray_T def_functions; ((do_profiling == PROF_YES && (dfunc->df_ufunc)->uf_profiling) \ ? (dfunc)->df_instr_prof : (dfunc)->df_instr) #else -# define PROFILING FALSE +# define PROFILING(ufunc) FALSE # define INSTRUCTIONS(dfunc) ((dfunc)->df_instr) #endif