Skip to content

Commit ff0e57f

Browse files
committed
patch 8.2.2410: build failure without the +profiling feature
Problem: Build failure without the +profiling feature. Solution: Add dummy argument to macro.
1 parent e0e3917 commit ff0e57f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2410,
753755
/**/
754756
2409,
755757
/**/

src/vim9.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,6 @@ extern garray_T def_functions;
415415
((do_profiling == PROF_YES && (dfunc->df_ufunc)->uf_profiling) \
416416
? (dfunc)->df_instr_prof : (dfunc)->df_instr)
417417
#else
418-
# define PROFILING FALSE
418+
# define PROFILING(ufunc) FALSE
419419
# define INSTRUCTIONS(dfunc) ((dfunc)->df_instr)
420420
#endif

0 commit comments

Comments
 (0)