diff options
Diffstat (limited to 'src/feature.h')
-rw-r--r-- | src/feature.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/feature.h b/src/feature.h index ae1675035..ea2e5887d 100644 --- a/src/feature.h +++ b/src/feature.h @@ -844,10 +844,14 @@ /* #define DEBUG */ /* - * STARTUPTIME Time the startup process. Writes a "vimstartup" file - * with timestamps. + * STARTUPTIME Time the startup process. Writes a file with + * timestamps. */ -/* #define STARTUPTIME "vimstartup" */ +#if defined(FEAT_NORMAL) \ + && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \ + || defined(WIN3264)) +# define STARTUPTIME 1 +#endif /* * MEM_PROFILE Debugging of memory allocation and freeing. |