diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-24 13:34:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-24 13:34:18 +0100 |
commit | f002a41d127d49cfe5a59819d1498bc0ff8b594a (patch) | |
tree | 6d5d7fe7c9ad051329ad561567d54f046d5c96e3 /src/vim9.h | |
parent | b204990346ca857802b174afe8a7fbb05e4f318e (diff) | |
download | vim-git-f002a41d127d49cfe5a59819d1498bc0ff8b594a.tar.gz |
patch 8.2.2401: build fails without +profiling featurev8.2.2401
Problem: Build fails without +profiling feature.
Solution: Add #ifdefs.
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vim9.h b/src/vim9.h index 9446c15bf..f8d51c502 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -373,8 +373,10 @@ struct dfunc_S { // After compiling "df_instr" and/or "df_instr_prof" is not NULL. isn_T *df_instr; // function body to be executed int df_instr_count; // size of "df_instr" - isn_T *df_instr_prof; // like "df_instr" with profiling - int df_instr_prof_count; // size of "df_instr_prof" +#ifdef FEAT_PROFILE + isn_T *df_instr_prof; // like "df_instr" with profiling + int df_instr_prof_count; // size of "df_instr_prof" +#endif int df_varcount; // number of local variables int df_has_closure; // one if a closure was created |