Commit 1816e3ec authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix win32 warning

parent 8ee62bb6
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
/* If localtime_r() is not provided, we assume localtime() uses /* If localtime_r() is not provided, we assume localtime() uses
* thread-specific storage. */ * thread-specific storage. */
# include <time.h> # include <time.h>
static struct tm *localtime_r (const time_t *timep, struct tm *result) static inline struct tm *localtime_r (const time_t *timep, struct tm *result)
{ {
struct tm *s = localtime (timep); struct tm *s = localtime (timep);
if (s == NULL) if (s == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment