1
0
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:
Fabian Dellwing
2024-04-18 01:38:29 +02:00
committed by GitHub
parent 6408338e93
commit 6eff31a204

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