Skip to content

Commit c0b5405

Browse files
author
Qiang Kou
committed
solaris
1 parent b9b935f commit c0b5405

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)