Skip to content

Commit efcd91e

Browse files
committed
AIX doesn't have tm_gmtoff
1 parent f3c5a34 commit efcd91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Date.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ struct tzhead {
13471347
idays -= ip[tmp->tm_mon];
13481348
tmp->tm_mday = (int) (idays + 1);
13491349
tmp->tm_isdst = 0;
1350-
#if ! (defined(__MINGW32__) || defined(__MINGW64__) || defined(__sun) || defined(sun))
1350+
#if ! (defined(__MINGW32__) || defined(__MINGW64__) || defined(__sun) || defined(sun) || defined(_AIX))
13511351
//#ifdef HAVE_TM_GMTOFF
13521352
tmp->tm_gmtoff = offset;
13531353
#endif

0 commit comments

Comments
 (0)