From: Bram Moolenaar Date: Mon, 25 Jan 2021 22:02:38 +0000 (+0100) Subject: patch 8.2.2410: build failure without the +profiling feature X-Git-Tag: v8.2.2410 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff0e57fe77b1a87a034191c629730b081f6fb7ad;p=thirdparty%2Fvim.git patch 8.2.2410: build failure without the +profiling feature Problem: Build failure without the +profiling feature. Solution: Add dummy argument to macro. --- diff --git a/src/version.c b/src/version.c index 279c49d0c1..7a25bc0d6d 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 76ec40303d..82fdfe6340 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