diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-07-10 11:14:53 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-07-10 11:15:59 +0200 |
commit | 7f0911f33ece28c85e9561f7b3e4157336cfd354 (patch) | |
tree | a2990ee3f5c38aa8dcec789b8e54f0f1e95360d2 | |
parent | 59b2dcbf45abd1139741054039de36ae3d2e2a1a (diff) | |
download | postgresql-7f0911f33ece28c85e9561f7b3e4157336cfd354.tar.gz postgresql-7f0911f33ece28c85e9561f7b3e4157336cfd354.zip |
Fix typos
-rw-r--r-- | config/c-compiler.m4 | 4 | ||||
-rw-r--r-- | src/include/pg_config.h.in | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/config/c-compiler.m4 b/config/c-compiler.m4 index 4a512cedd46..33e8b127e27 100644 --- a/config/c-compiler.m4 +++ b/config/c-compiler.m4 @@ -498,7 +498,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT32_CAS], [pgac_cv_gcc_sync_int32_cas="yes"], [pgac_cv_gcc_sync_int32_cas="no"])]) if test x"$pgac_cv_gcc_sync_int32_cas" = x"yes"; then - AC_DEFINE(HAVE_GCC__SYNC_INT32_CAS, 1, [Define to 1 if you have __sync_compare_and_swap(int *, int, int).]) + AC_DEFINE(HAVE_GCC__SYNC_INT32_CAS, 1, [Define to 1 if you have __sync_val_compare_and_swap(int *, int, int).]) fi])# PGAC_HAVE_GCC__SYNC_INT32_CAS # PGAC_HAVE_GCC__SYNC_INT64_CAS @@ -513,7 +513,7 @@ AC_DEFUN([PGAC_HAVE_GCC__SYNC_INT64_CAS], [pgac_cv_gcc_sync_int64_cas="yes"], [pgac_cv_gcc_sync_int64_cas="no"])]) if test x"$pgac_cv_gcc_sync_int64_cas" = x"yes"; then - AC_DEFINE(HAVE_GCC__SYNC_INT64_CAS, 1, [Define to 1 if you have __sync_compare_and_swap(int64 *, int64, int64).]) + AC_DEFINE(HAVE_GCC__SYNC_INT64_CAS, 1, [Define to 1 if you have __sync_val_compare_and_swap(int64 *, int64, int64).]) fi])# PGAC_HAVE_GCC__SYNC_INT64_CAS # PGAC_HAVE_GCC__ATOMIC_INT32_CAS diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 3efffbe6ac6..bdcac3ca994 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -215,13 +215,14 @@ /* Define to 1 if you have __sync_lock_test_and_set(char *) and friends. */ #undef HAVE_GCC__SYNC_CHAR_TAS -/* Define to 1 if you have __sync_compare_and_swap(int *, int, int). */ +/* Define to 1 if you have __sync_val_compare_and_swap(int *, int, int). */ #undef HAVE_GCC__SYNC_INT32_CAS /* Define to 1 if you have __sync_lock_test_and_set(int *) and friends. */ #undef HAVE_GCC__SYNC_INT32_TAS -/* Define to 1 if you have __sync_compare_and_swap(int64 *, int64, int64). */ +/* Define to 1 if you have __sync_val_compare_and_swap(int64 *, int64, int64). + */ #undef HAVE_GCC__SYNC_INT64_CAS /* Define to 1 if you have the `getaddrinfo' function. */ |