From efcd91e96d0751899368043a6f9d8b928e880c13 Mon Sep 17 00:00:00 2001 From: Ayappan P Date: Mon, 9 Jul 2018 16:30:45 +0530 Subject: [PATCH] AIX doesn't have tm_gmtoff --- src/Date.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Date.cpp b/src/Date.cpp index ba1783cc7..2b9221c03 100644 --- a/src/Date.cpp +++ b/src/Date.cpp @@ -1347,7 +1347,7 @@ struct tzhead { idays -= ip[tmp->tm_mon]; tmp->tm_mday = (int) (idays + 1); tmp->tm_isdst = 0; -#if ! (defined(__MINGW32__) || defined(__MINGW64__) || defined(__sun) || defined(sun)) +#if ! (defined(__MINGW32__) || defined(__MINGW64__) || defined(__sun) || defined(sun) || defined(_AIX)) //#ifdef HAVE_TM_GMTOFF tmp->tm_gmtoff = offset; #endif