Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd93c056

Browse files
committed
Fix typos
1 parent8caf262 commitd93c056

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)

[8]ページ先頭

©2009-2025 Movatter.jp