Skip to content

Commit d93c056

Browse files
committed
Fix typos
1 parent 8caf262 commit d93c056

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
@@ -445,7 +445,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT32_CAS],
445445
[pgac_cv_gcc_sync_int32_cas="yes"],
446446
[pgac_cv_gcc_sync_int32_cas="no"])])
447447
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).])
449449
fi])# PGAC_HAVE_GCC__SYNC_INT32_CAS
450450

451451
# PGAC_HAVE_GCC__SYNC_INT64_CAS
@@ -460,7 +460,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT64_CAS],
460460
[pgac_cv_gcc_sync_int64_cas="yes"],
461461
[pgac_cv_gcc_sync_int64_cas="no"])])
462462
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).])
464464
fi])# PGAC_HAVE_GCC__SYNC_INT64_CAS
465465

466466
# 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
@@ -209,13 +209,14 @@
209209
/* Define to 1 if you have __sync_lock_test_and_set(char *) and friends. */
210210
#undef HAVE_GCC__SYNC_CHAR_TAS
211211

212-
/* Define to 1 if you have __sync_compare_and_swap(int *, int, int). */
212+
/* Define to 1 if you have __sync_val_compare_and_swap(int *, int, int). */
213213
#undef HAVE_GCC__SYNC_INT32_CAS
214214

215215
/* Define to 1 if you have __sync_lock_test_and_set(int *) and friends. */
216216
#undef HAVE_GCC__SYNC_INT32_TAS
217217

218-
/* Define to 1 if you have __sync_compare_and_swap(int64 *, int64, int64). */
218+
/* Define to 1 if you have __sync_val_compare_and_swap(int64 *, int64, int64).
219+
*/
219220
#undef HAVE_GCC__SYNC_INT64_CAS
220221

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