================
@@ -1226,7 +1226,7 @@ bool lldb_private::formatters::ObjCSELSummaryProvider(
 time_t lldb_private::formatters::GetOSXEpoch() {
   static time_t epoch = 0;
   if (!epoch) {
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(_AIX)
----------------
DhruvSrivastavaX wrote:

The reason for #if is that `tm` structure defined on AIX does not have: 
`tm_gmtoff , tm_zone` 
and we dont have `timegm()` function as well. Since `GetOSXEpoch()` anyway 
seems specific to 
the MacOS epoch, there seems to be no need to do any other modifications to 
this function. 
I hope this is ok. 

https://github.com/llvm/llvm-project/pull/120979
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to