aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-11-07 07:46:30 +0100
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-11-07 07:46:30 +0100
commitc50f157b27b6d201c6c7f3c9540288ad48aed00a (patch)
treee6764b9f0e6ad25c24f8d904648bc736f5bc3b9d
parenta8d867d29c1c2b0be6cf2a6873d65ab2945d4125 (diff)
Added missing file: fixed #438
-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