commit | 63d2555c9cefbbeeca3ec87fdd5d241e9488f9dd | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 10 21:28:38 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 10 21:28:38 2019 +0200 |
tree | f96d5dcd14268406b6c78c002f9bb63db7fc9cb9 | |
parent | 4ca41534b726c4116d2e430e877e34146b4d4831 [diff] [blame] |
patch 8.1.1313: warnings for using localtime() and ctime() Problem: Warnings for using localtime() and ctime(). Solution: Use localtime_r() if available. Avoid using ctime().
diff --git a/src/config.h.in b/src/config.h.in index 3f122fd..23e301c 100644 --- a/src/config.h.in +++ b/src/config.h.in
@@ -174,6 +174,7 @@ #undef HAVE_GETTIMEOFDAY #undef HAVE_GETWD #undef HAVE_ICONV +#undef HAVE_LOCALTIME_R #undef HAVE_LSTAT #undef HAVE_MEMSET #undef HAVE_MKDTEMP