@@ -445,7 +445,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT32_CAS],
445
445
[ pgac_cv_gcc_sync_int32_cas="yes"] ,
446
446
[ pgac_cv_gcc_sync_int32_cas="no"] ) ] )
447
447
if test x"$pgac_cv_gcc_sync_int32_cas" = x"yes"; then
448
- AC_DEFINE ( HAVE_GCC__SYNC_INT32_CAS , 1 , [ Define to 1 if you have __sync_compare_and_swap (int *, int, int).] )
448
+ AC_DEFINE ( HAVE_GCC__SYNC_INT32_CAS , 1 , [ Define to 1 if you have __sync_val_compare_and_swap (int *, int, int).] )
449
449
fi] ) # PGAC_HAVE_GCC__SYNC_INT32_CAS
450
450
451
451
# PGAC_HAVE_GCC__SYNC_INT64_CAS
@@ -460,7 +460,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT64_CAS],
460
460
[ pgac_cv_gcc_sync_int64_cas="yes"] ,
461
461
[ pgac_cv_gcc_sync_int64_cas="no"] ) ] )
462
462
if test x"$pgac_cv_gcc_sync_int64_cas" = x"yes"; then
463
- AC_DEFINE ( HAVE_GCC__SYNC_INT64_CAS , 1 , [ Define to 1 if you have __sync_compare_and_swap (int64 *, int64, int64).] )
463
+ AC_DEFINE ( HAVE_GCC__SYNC_INT64_CAS , 1 , [ Define to 1 if you have __sync_val_compare_and_swap (int64 *, int64, int64).] )
464
464
fi] ) # PGAC_HAVE_GCC__SYNC_INT64_CAS
465
465
466
466
# PGAC_HAVE_GCC__ATOMIC_INT32_CAS
0 commit comments