From 0a7984af5601323fae7b3398f05a48087db7b767 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 14 Oct 2021 21:27:55 +0100 Subject: patch 8.2.3510: changes are only detected with one second accuracy Problem: Changes are only detected with one second accuracy. Solution: Use the nanosecond time if possible. (Leah Neukirchen, closes #8873, closes #8875) --- src/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config.h.in') diff --git a/src/config.h.in b/src/config.h.in index 0808cc3587..61b8b76a54 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -144,6 +144,9 @@ /* Define if stat() ignores a trailing slash */ #undef STAT_IGNORES_SLASH +/* Define to nanoseconds field of struct stat */ +#undef ST_MTIM_NSEC + /* Define if tgetstr() has a second argument that is (char *) */ #undef TGETSTR_CHAR_P -- cgit v1.2.3