Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamesReynolds <JamesReynolds>2018-05-30 12:44:41 +0300
committerJamesReynolds <JamesReynolds>2018-05-30 12:44:41 +0300
commit4131347079050e72997bafc69b493627f458fb47 (patch)
treee6ef58d961e48bb657cba0b3dd7cc9bf678ee0fa
parent67a6eaf23ed38cf37ee872dbf513443ca28869dd (diff)
This closes #74 in gabime/spdlog
Support for AIX. Tested on AIX 6.1 with GCC 6.3.
-rw-r--r--include/spdlog/details/os.h2
1 files changed, 1 insertions, 1 deletions
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
{