commit | f002a41d127d49cfe5a59819d1498bc0ff8b594a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 24 13:34:18 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 24 13:34:18 2021 +0100 |
tree | 6d5d7fe7c9ad051329ad561567d54f046d5c96e3 | |
parent | b204990346ca857802b174afe8a7fbb05e4f318e [diff] [blame] |
patch 8.2.2401: build fails without +profiling feature Problem: Build fails without +profiling feature. Solution: Add #ifdefs.
diff --git a/src/structs.h b/src/structs.h index b092b45..bd59656 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -1906,6 +1906,11 @@ proftime_T pi_call_start; } profinfo_T; +# else +typedef struct +{ + int dummy; +} profinfo_T; # endif #else // dummy typedefs for use in function prototypes