1diff -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
4@@ -1198,8 +1198,16 @@
5         static const time_t decemberSolstice=1198332540; /*2007-12-22 06:09 UT*/
6
7         /* This probing will tell us when daylight savings occurs.  */
8+#if U_PLATFORM_IS_DARWIN_BASED
9+        struct tm *tmp;
10+        tmp = localtime(&juneSolstice);
11+        juneSol = *tmp;
12+        tmp = localtime(&decemberSolstice);
13+        decemberSol = *tmp;
14+#else
15         localtime_r(&juneSolstice, &juneSol);
16         localtime_r(&decemberSolstice, &decemberSol);
17+#endif
18         if(decemberSol.tm_isdst > 0) {
19           daylightType = U_DAYLIGHT_DECEMBER;
20         } else if(juneSol.tm_isdst > 0) {
21