]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.2410: build failure without the +profiling feature v8.2.2410
authorBram Moolenaar <Bram@vim.org>
Mon, 25 Jan 2021 22:02:38 +0000 (23:02 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 25 Jan 2021 22:02:38 +0000 (23:02 +0100)
Problem:    Build failure without the +profiling feature.
Solution:   Add dummy argument to macro.

src/version.c
src/vim9.h

index 279c49d0c1e38df70da1cab7f5ee8e7658f7f105..7a25bc0d6d3e1e8f86f0e012c686c51e25066dbc 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2410,
 /**/
     2409,
 /**/
index 76ec40303dd07dfd8af161b0d4e2b02e83500bf0..82fdfe6340047fe2672fc134bb92ea553da64253 100644 (file)
@@ -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