Skip to content

Commit 494d8e5

Browse files
committed
on Solaris do not access tm_gmtoff
1 parent f57467b commit 494d8e5

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__))
1350+
#if ! (defined(__MINGW32__) || defined(__MINGW64__) || defined(__SUNPRO_CC))
13511351
//#ifdef HAVE_TM_GMTOFF
13521352
tmp->tm_gmtoff = offset;
13531353
#endif

0 commit comments

Comments
 (0)