1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-04-29 12:03:53 +00:00

This closes #74 in gabime/spdlog

Support for AIX. Tested on AIX 6.1 with GCC 6.3.
This commit is contained in:
JamesReynolds 2018-05-30 10:44:41 +01:00
parent 67a6eaf23e
commit 4131347079

View File

@ -282,7 +282,7 @@ inline int utc_minutes_offset(const std::tm &tm = details::os::localtime())
return offset; return offset;
#else #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 // 'tm_gmtoff' field is BSD extension and it's missing on SunOS/Solaris
struct helper struct helper
{ {