timegm api absent in AIX (#2336)

This commit is contained in:
Prajwal B Mehendarkar authored and GitHub committed 2026-01-22 18:57:23 -05:00
1 parent 191bfb2ea4
commit f73e694f0c
1 file changed
+2
+2
View File
@@ -3547,6 +3547,8 @@ inline time_t parse_http_date(const std::string &date_str) {
#ifdef _WIN32 #ifdef _WIN32
return _mkgmtime(&tm_buf); return _mkgmtime(&tm_buf);
#elif defined _AIX
return mktime(&tm_buf);
#else #else
return timegm(&tm_buf); return timegm(&tm_buf);
#endif #endif