mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Add strptime
fallback not only for Windows
This commit is contained in:
@ -59,7 +59,7 @@ const void *_jq_memmem(const void *haystack, size_t haystacklen,
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#if defined(WIN32) && !defined(HAVE_STRPTIME)
|
||||
#ifndef HAVE_STRPTIME
|
||||
char* strptime(const char *buf, const char *fmt, struct tm *tm);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user