From 6eff31a2046f74b025154a0557c1ba025eac8f5a Mon Sep 17 00:00:00 2001 From: Fabian Dellwing Date: Thu, 18 Apr 2024 01:38:29 +0200 Subject: Add `strptime` fallback not only for Windows --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.h b/src/util.h index 562ac19a..6fdef383 100644 --- a/src/util.h +++ b/src/util.h @@ -59,7 +59,7 @@ const void *_jq_memmem(const void *haystack, size_t haystacklen, #include -#if defined(WIN32) && !defined(HAVE_STRPTIME) +#ifndef HAVE_STRPTIME char* strptime(const char *buf, const char *fmt, struct tm *tm); #endif -- cgit v1.2.3