diff options
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/undo.c b/src/undo.c index 7e01408537..656b38d3cd 100644 --- a/src/undo.c +++ b/src/undo.c @@ -2497,7 +2497,6 @@ void ex_undolist(exarg_T *eap) */ static void u_add_time(char_u *buf, size_t buflen, time_t tt) { -#ifdef HAVE_STRFTIME struct tm *curtime; if (time(NULL) - tt >= 100) { @@ -2509,7 +2508,6 @@ static void u_add_time(char_u *buf, size_t buflen, time_t tt) /* longer ago */ (void)strftime((char *)buf, buflen, "%Y/%m/%d %H:%M:%S", curtime); } else -#endif vim_snprintf((char *)buf, buflen, _("%ld seconds ago"), (long)(time(NULL) - tt)); } |