ICU-8730 set U_HAVE_GCC_ATOMICS to 1 for only gcc>=4.1
X-SVN-Rev: 30535
This commit is contained in:
parent
6a3384cfa2
commit
d5893b6918
@ -134,7 +134,7 @@ typedef size_t uintptr_t;
|
||||
*/
|
||||
#ifdef U_HAVE_GCC_ATOMICS
|
||||
/* Use the predefined value. */
|
||||
#elif defined(__GNUC__)
|
||||
#elif defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 401)
|
||||
# define U_HAVE_GCC_ATOMICS 1
|
||||
#else
|
||||
# define U_HAVE_GCC_ATOMICS 0
|
||||
|
Loading…
Reference in New Issue
Block a user