1
0
mirror of synced 2026-10-24 00:28:57 +03:00

timegm api absent in AIX (#2336)

This commit is contained in:
Prajwal B Mehendarkar
2026-01-23 05:27:23 +05:30
committed by GitHub
parent 191bfb2ea4
commit f73e694f0c

View File

@@ -3547,6 +3547,8 @@ inline time_t parse_http_date(const std::string &date_str) {
#ifdef _WIN32
return _mkgmtime(&tm_buf);
#elif defined _AIX
return mktime(&tm_buf);
#else
return timegm(&tm_buf);
#endif