summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-55.1-PATCHES/patch-03-gcc-atomic
blob: 526f966399dcf1823f303f4888e33a113e6ec470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
	It seems gcc-4.4 uses external calls.

diff -ur -N -x config.guess -x config.sub -x install-sh icu-55.1.orig/source/common/putilimp.h icu-55.1/source/common/putilimp.h
--- icu-55.1.orig/source/common/putilimp.h	2015-03-18 19:40:08.000000000 +0100
+++ icu-55.1/source/common/putilimp.h	2015-03-19 09:20:51.000000000 +0100
@@ -191,7 +191,7 @@
     /* Use the predefined value. */
 #elif U_PLATFORM == U_PF_MINGW
     #define U_HAVE_GCC_ATOMICS 0
-#elif U_GCC_MAJOR_MINOR >= 404 || defined(__clang__)
+#elif U_GCC_MAJOR_MINOR >= 405 || defined(__clang__)
     /* TODO: Intel icc and IBM xlc on AIX also support gcc atomics.  (Intel originated them.)
      *       Add them for these compilers.
      * Note: Clang sets __GNUC__ defines for version 4.2, so misses the 4.4 test here.