Provide strptime implementation on all systems
This commit is contained in:
1 parent
f51e841fbc
commit
f954e82b14
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1464,7 +1464,7 @@ static jv f_strptime(jq_state *jq, jv a, jv b) {
|
||||
*/
|
||||
set_tm_wday(&tm);
|
||||
set_tm_yday(&tm);
|
||||
#elif defined(WIN32)
|
||||
#elif defined(WIN32) || !defined(HAVE_STRPTIME)
|
||||
set_tm_wday(&tm);
|
||||
#else
|
||||
if (tm.tm_wday == 8 && tm.tm_mday != 0 && tm.tm_mon >= 0 && tm.tm_mon <= 11)
|
||||
|
||||
Reference in new issue
Block a user