Skip to content

Commit 7f0911f

Browse files
committed
Fix typos
1 parent 59b2dcb commit 7f0911f

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
@@ -498,7 +498,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT32_CAS],
498498
[pgac_cv_gcc_sync_int32_cas="yes"],
499499
[pgac_cv_gcc_sync_int32_cas="no"])])
500500
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).])
502502
fi])# PGAC_HAVE_GCC__SYNC_INT32_CAS
503503

504504
# PGAC_HAVE_GCC__SYNC_INT64_CAS
@@ -513,7 +513,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT64_CAS],
513513
[pgac_cv_gcc_sync_int64_cas="yes"],
514514
[pgac_cv_gcc_sync_int64_cas="no"])])
515515
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).])
517517
fi])# PGAC_HAVE_GCC__SYNC_INT64_CAS
518518

519519
# 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
@@ -215,13 +215,14 @@
215215
/* Define to 1 if you have __sync_lock_test_and_set(char *) and friends. */
216216
#undef HAVE_GCC__SYNC_CHAR_TAS
217217

218-
/* Define to 1 if you have __sync_compare_and_swap(int *, int, int). */
218+
/* Define to 1 if you have __sync_val_compare_and_swap(int *, int, int). */
219219
#undef HAVE_GCC__SYNC_INT32_CAS
220220

221221
/* Define to 1 if you have __sync_lock_test_and_set(int *) and friends. */
222222
#undef HAVE_GCC__SYNC_INT32_TAS
223223

224-
/* Define to 1 if you have __sync_compare_and_swap(int64 *, int64, int64). */
224+
/* Define to 1 if you have __sync_val_compare_and_swap(int64 *, int64, int64).
225+
*/
225226
#undef HAVE_GCC__SYNC_INT64_CAS
226227

227228
/* 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