Skip to content

Commit 271148a

Browse files
authored
Merge pull request #637 from thirdwing/master
To compile on solaris
2 parents b9b935f + c0b5405 commit 271148a

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

0 commit comments

Comments
 (0)