@@ -588,7 +588,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT32_CAS],
588588 [ pgac_cv_gcc_sync_int32_cas="yes"] ,
589589 [ pgac_cv_gcc_sync_int32_cas="no"] ) ] )
590590if test x"$pgac_cv_gcc_sync_int32_cas" = x"yes"; then
591- AC_DEFINE ( HAVE_GCC__SYNC_INT32_CAS , 1 , [ Define to 1 if you have __sync_compare_and_swap (int *, int, int).] )
591+ AC_DEFINE ( HAVE_GCC__SYNC_INT32_CAS , 1 , [ Define to 1 if you have __sync_val_compare_and_swap (int *, int, int).] )
592592fi] ) # PGAC_HAVE_GCC__SYNC_INT32_CAS
593593
594594# PGAC_HAVE_GCC__SYNC_INT64_CAS
@@ -603,7 +603,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT64_CAS],
603603 [ pgac_cv_gcc_sync_int64_cas="yes"] ,
604604 [ pgac_cv_gcc_sync_int64_cas="no"] ) ] )
605605if test x"$pgac_cv_gcc_sync_int64_cas" = x"yes"; then
606- AC_DEFINE ( HAVE_GCC__SYNC_INT64_CAS , 1 , [ Define to 1 if you have __sync_compare_and_swap (int64 *, int64, int64).] )
606+ AC_DEFINE ( HAVE_GCC__SYNC_INT64_CAS , 1 , [ Define to 1 if you have __sync_val_compare_and_swap (int64 *, int64, int64).] )
607607fi] ) # PGAC_HAVE_GCC__SYNC_INT64_CAS
608608
609609# PGAC_HAVE_GCC__ATOMIC_INT32_CAS
0 commit comments