summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Dellwing <fabian.dellwing@mbconnectline.de>2024-04-18 01:38:29 +0200
committerGitHub <noreply@github.com>2024-04-18 01:38:29 +0200
commit6eff31a2046f74b025154a0557c1ba025eac8f5a (patch)
treec8b32185ca10acf524a48c04dd6d26c22718a14f
parent6408338e9396769dfb873b7708a78dc4b8099d85 (diff)
Add `strptime` fallback not only for WindowsHEADmaster
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
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 <time.h>
-#if defined(WIN32) && !defined(HAVE_STRPTIME)
+#ifndef HAVE_STRPTIME
char* strptime(const char *buf, const char *fmt, struct tm *tm);
#endif