]> granicus.if.org Git - icu/commitdiff
ICU-9371 Fix GCC atomic support detection
authorMichael Ow <mow@svn.icu-project.org>
Thu, 14 Jun 2012 18:33:17 +0000 (18:33 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Thu, 14 Jun 2012 18:33:17 +0000 (18:33 +0000)
X-SVN-Rev: 31951

icu4c/source/common/putilimp.h

index 4684fd596c1341fd870ae6ea29bfe65ebc4a169d..b11ec05b9696aeb8b24c06e28530ab05bbc9612b 100644 (file)
@@ -178,7 +178,7 @@ typedef size_t uintptr_t;
  */
 #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