1 diff -ur icu.org/source/common/putil.cpp icu/source/common/putil.cpp
2 --- icu.org/source/common/putil.cpp 2017-04-10 16:22:16.000000000 +0200
3 +++ icu/source/common/putil.cpp 2017-04-21 22:14:09.940217733 +0200
5 static const time_t decemberSolstice=1198332540; /*2007-12-22 06:09 UT*/
7 /* This probing will tell us when daylight savings occurs. */
8 +#if U_PLATFORM_IS_DARWIN_BASED
10 + tmp = localtime(&juneSolstice);
12 + tmp = localtime(&decemberSolstice);
15 localtime_r(&juneSolstice, &juneSol);
16 localtime_r(&decemberSolstice, &decemberSol);
18 if(decemberSol.tm_isdst > 0) {
19 daylightType = U_DAYLIGHT_DECEMBER;
20 } else if(juneSol.tm_isdst > 0) {