Add strptime fallback not only for Windows

This commit is contained in:
Fabian Dellwing authored and GitHub committed 2024-04-18 01:38:29 +02:00
1 parent 6408338e93
commit 6eff31a204
1 file changed
+1 -1
+1 -1
View File
@@ -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