From 63d2555c9cefbbeeca3ec87fdd5d241e9488f9dd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 10 May 2019 21:28:38 +0200 Subject: 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(). --- src/config.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src/config.h.in') diff --git a/src/config.h.in b/src/config.h.in index 3f122fddb2..23e301c90e 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 -- cgit v1.2.3