office-gobmx/icu/icu4c-interlck.patch
Caolán McNamara 9590650af7 gcc atomics only definitely available >= gcc 4.4.4
Change-Id: I77580411eabe4375d86670debb4a5770f7873c14
2012-05-11 13:40:50 +01:00

11 lines
386 B
Diff

--- misc/icu/source/common/putilimp.h
+++ misc/build/icu/source/common/putilimp.h
@@ -175,7 +175,7 @@
*/
#ifdef U_HAVE_GCC_ATOMICS
/* Use the predefined value. */
-#elif defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 401)
+#elif defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 404)
# define U_HAVE_GCC_ATOMICS 1
#else
# define U_HAVE_GCC_ATOMICS 0