Skip to content

Commit 1486f7f

Browse files
committed
Fix typos
1 parent 8a00b96 commit 1486f7f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

config/c-compiler.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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"])])
590590
if 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).])
592592
fi])# 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"])])
605605
if 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).])
607607
fi])# PGAC_HAVE_GCC__SYNC_INT64_CAS
608608

609609
# PGAC_HAVE_GCC__ATOMIC_INT32_CAS

src/include/pg_config.h.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,14 @@
235235
/* Define to 1 if you have __sync_lock_test_and_set(char *) and friends. */
236236
#undef HAVE_GCC__SYNC_CHAR_TAS
237237

238-
/* Define to 1 if you have __sync_compare_and_swap(int *, int, int). */
238+
/* Define to 1 if you have __sync_val_compare_and_swap(int *, int, int). */
239239
#undef HAVE_GCC__SYNC_INT32_CAS
240240

241241
/* Define to 1 if you have __sync_lock_test_and_set(int *) and friends. */
242242
#undef HAVE_GCC__SYNC_INT32_TAS
243243

244-
/* Define to 1 if you have __sync_compare_and_swap(int64 *, int64, int64). */
244+
/* Define to 1 if you have __sync_val_compare_and_swap(int64 *, int64, int64).
245+
*/
245246
#undef HAVE_GCC__SYNC_INT64_CAS
246247

247248
/* Define to 1 if you have the `getaddrinfo' function. */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy