--- misc/icu/source/common/putil.cpp +++ misc/build/icu/source/common/putil.cpp @@ -1080,8 +1080,16 @@ static const time_t decemberSolstice=1198332540; /*2007-12-22 06:09 UT*/ /* This probing will tell us when daylight savings occurs. */ +#if U_PLATFORM_IS_DARWIN_BASED + struct tm *tmp; + tmp = localtime(&juneSolstice); + juneSol = *tmp; + tmp = localtime(&decemberSolstice); + decemberSol = *tmp; +#else localtime_r(&juneSolstice, &juneSol); localtime_r(&decemberSolstice, &decemberSol); +#endif if(decemberSol.tm_isdst > 0) { daylightType = U_DAYLIGHT_DECEMBER; } else if(juneSol.tm_isdst > 0) { hidden' name='id' value='bf3f3a6bfb08c2d1a2c95f1c1cf62117e0002235'/> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/starmath/CppunitTest_starmath_qa_cppunit.mk
AgeCommit message (Expand)Author
2016-05-24starmath: Fix missing call of AnnotationSelection() for SmCursor::CopyTakeshi Abe