From ff0e57fe77b1a87a034191c629730b081f6fb7ad Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 25 Jan 2021 23:02:38 +0100 Subject: patch 8.2.2410: build failure without the +profiling feature Problem: Build failure without the +profiling feature. Solution: Add dummy argument to macro. --- src/version.c | 2 ++ src/vim9.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/version.c b/src/version.c index 279c49d0c..7a25bc0d6 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2410, /**/ 2409, /**/ diff --git a/src/vim9.h b/src/vim9.h index 76ec40303..82fdfe634 100644 --- 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 -- cgit v1.2.1