@@ -498,7 +498,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT32_CAS],
498
498
[ pgac_cv_gcc_sync_int32_cas="yes"] ,
499
499
[ pgac_cv_gcc_sync_int32_cas="no"] ) ] )
500
500
if test x"$pgac_cv_gcc_sync_int32_cas" = x"yes"; then
501
- AC_DEFINE ( HAVE_GCC__SYNC_INT32_CAS , 1 , [ Define to 1 if you have __sync_compare_and_swap (int *, int, int).] )
501
+ AC_DEFINE ( HAVE_GCC__SYNC_INT32_CAS , 1 , [ Define to 1 if you have __sync_val_compare_and_swap (int *, int, int).] )
502
502
fi] ) # PGAC_HAVE_GCC__SYNC_INT32_CAS
503
503
504
504
# PGAC_HAVE_GCC__SYNC_INT64_CAS
@@ -513,7 +513,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT64_CAS],
513
513
[ pgac_cv_gcc_sync_int64_cas="yes"] ,
514
514
[ pgac_cv_gcc_sync_int64_cas="no"] ) ] )
515
515
if test x"$pgac_cv_gcc_sync_int64_cas" = x"yes"; then
516
- AC_DEFINE ( HAVE_GCC__SYNC_INT64_CAS , 1 , [ Define to 1 if you have __sync_compare_and_swap (int64 *, int64, int64).] )
516
+ AC_DEFINE ( HAVE_GCC__SYNC_INT64_CAS , 1 , [ Define to 1 if you have __sync_val_compare_and_swap (int64 *, int64, int64).] )
517
517
fi] ) # PGAC_HAVE_GCC__SYNC_INT64_CAS
518
518
519
519
# PGAC_HAVE_GCC__ATOMIC_INT32_CAS
0 commit comments