Add strptime fallback not only for Windows
This commit is contained in:
1 parent
6408338e93
commit
6eff31a204
1 file changed
+1
-1
+1
-1
@@ -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