diff options
author | Leah Neukirchen <leah@vuxu.org> | 2021-10-14 21:27:55 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-14 21:27:55 +0100 |
commit | 0a7984af5601323fae7b3398f05a48087db7b767 (patch) | |
tree | 22efd296a4db294d3e9288c5d2085c1a5679ae82 /src/config.h.in | |
parent | 340dd0fbe462a15a9678cfba02085b4adcc45f02 (diff) |
patch 8.2.3510: changes are only detected with one second accuracyv8.2.3510
Problem: Changes are only detected with one second accuracy.
Solution: Use the nanosecond time if possible. (Leah Neukirchen,
closes #8873, closes #8875)
Diffstat (limited to 'src/config.h.in')
-rw-r--r-- | src/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
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 |