1
0
forked from aniani/vim

patch 8.2.2401: build fails without +profiling feature

Problem:    Build fails without +profiling feature.
Solution:   Add #ifdefs.
This commit is contained in:
Bram Moolenaar
2021-01-24 13:34:18 +01:00
parent b204990346
commit f002a41d12
6 changed files with 63 additions and 7 deletions

View File

@@ -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