1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-03-15 10:39:53 +08:00
This commit is contained in:
gabime 2019-11-08 14:08:31 +02:00
parent 408a2229d6
commit ff3e6c7248

View File

@ -277,7 +277,7 @@ SPDLOG_INLINE int utc_minutes_offset(const std::tm &tm)
return offset;
#else
#if defined(sun) || defined(__sun) || defined(_AIX)
#if defined(sun) || defined(__sun) || defined(_AIX) || (!defined(_BSD_SOURCE) && !defined(_GNU_SOURCE))
// 'tm_gmtoff' field is BSD extension and it's missing on SunOS/Solaris
struct helper
{