try and bodge macosx 10.4 build
Change-Id: Ic862cbfcdc1742d905a59862e63742b581752bfe
This commit is contained in:
parent
f35b5d0903
commit
4fc79b3551
2 changed files with 15 additions and 0 deletions
14
icu/icu4c-macosx.patch
Normal file
14
icu/icu4c-macosx.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- misc/icu/source/common/putil.cpp
|
||||
+++ misc/build/icu/source/common/putil.cpp
|
||||
@@ -975,6 +975,11 @@
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
+
|
||||
+#if U_PLATFORM_IS_DARWIN_BASED
|
||||
+extern struct tm *localtime_r(const time_t *, struct tm *);
|
||||
+#endif
|
||||
+
|
||||
U_CAPI const char* U_EXPORT2
|
||||
uprv_tzname(int n)
|
||||
{
|
|
@ -52,6 +52,7 @@ PATCH_FILES=\
|
|||
icu4c-wchar_t.patch \
|
||||
icu4c-warnings.patch \
|
||||
icu4c.9313.cygwin.patch \
|
||||
icu4c-macosx.patch \
|
||||
|
||||
.IF "$(OS)"=="ANDROID"
|
||||
PATCH_FILES+=\
|
||||
|
|
Loading…
Reference in a new issue