Skip to content

Commit

Permalink
Add strptime fallback not only for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fdellwing authored Apr 17, 2024
1 parent 6408338 commit 6eff31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6eff31a

Please sign in to comment.