summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-25 23:02:38 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-25 23:02:38 +0100
commitff0e57fe77b1a87a034191c629730b081f6fb7ad (patch)
tree437862202d4a29b929feed8ff7fa2d56e58f7690 /src
parente0e3917554327f2524066f89fbbef9c83c1535da (diff)
patch 8.2.2410: build failure without the +profiling featurev8.2.2410
Problem: Build failure without the +profiling feature. Solution: Add dummy argument to macro.
Diffstat (limited to 'src')
-rw-r--r--src/version.c2
-rw-r--r--src/vim9.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 279c49d0c1..7a25bc0d6d 100644
--- 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,
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