diff --git a/include/spdlog/details/os.h b/include/spdlog/details/os.h index e48f8272..a9246de2 100644 --- a/include/spdlog/details/os.h +++ b/include/spdlog/details/os.h @@ -282,7 +282,7 @@ inline int utc_minutes_offset(const std::tm &tm = details::os::localtime()) return offset; #else -#if defined(sun) || defined(__sun) +#if defined(sun) || defined(__sun) || defined(_AIX) // 'tm_gmtoff' field is BSD extension and it's missing on SunOS/Solaris struct helper {