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/structs.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/structs.h')
-rw-r--r-- | src/structs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index b092b45bb..bd59656b7 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1906,6 +1906,11 @@ typedef struct { proftime_T pi_call_start; } profinfo_T; +# else +typedef struct +{ + int dummy; +} profinfo_T; # endif #else // dummy typedefs for use in function prototypes |