1 --- misc/icu/source/common/putil.cpp
2 +++ misc/build/icu/source/common/putil.cpp
4 static const time_t decemberSolstice=1198332540; /*2007-12-22 06:09 UT*/
6 /* This probing will tell us when daylight savings occurs. */
7 +#if U_PLATFORM_IS_DARWIN_BASED
9 + tmp = localtime(&juneSolstice);
11 + tmp = localtime(&decemberSolstice);
14 localtime_r(&juneSolstice, &juneSol);
15 localtime_r(&decemberSolstice, &decemberSol);
17 if(decemberSol.tm_isdst > 0) {
18 daylightType = U_DAYLIGHT_DECEMBER;
19 } else if(juneSol.tm_isdst > 0) {