aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--scripts/icu4c-ios.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/icu4c-ios.patch b/scripts/icu4c-ios.patch
new file mode 100644
index 00000000..3794dd1f
--- /dev/null
+++ b/scripts/icu4c-ios.patch
@@ -0,0 +1,19 @@
+--- a/source/common/umutex.h 2013-08-02 08:46:47.000000000 +0200
++++ b/source/common/umutex.h 2013-08-02 08:49:38.000000000 +0200
+@@ -50,12 +50,16 @@
+ #if U_PLATFORM_IS_DARWIN_BASED
+ #if defined(__STRICT_ANSI__)
+ #define UPRV_REMAP_INLINE
++#if !defined(__clang_major__) || (defined(__clang_major__) && __clang_major__ < 5)
+ #define inline
++#endif // #if __clang_major__ < 5
+ #endif
+ #include <libkern/OSAtomic.h>
+ #define USE_MAC_OS_ATOMIC_INCREMENT 1
+ #if defined(UPRV_REMAP_INLINE)
++#if !defined(__clang_major__) || (defined(__clang_major__) && __clang_major__ < 5)
+ #undef inline
++#endif // #if __clang_major__ < 5
+ #undef UPRV_REMAP_INLINE
+ #endif
+ #endif \ No newline at end of file