summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibrhash/librhash/util.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-02 21:31:36 (GMT)
committerBrad King <brad.king@kitware.com>2020-03-02 21:58:34 (GMT)
commit471ebc590e3349483cca261d2bc149705e4d162d (patch)
treefe91a2c52253a54f1c2f191c8a0653324e4fa830 /Utilities/cmlibrhash/librhash/util.h
parent74f1a64572f79ee7dd990b37ec9dbb5d4681e43b (diff)
parent641cc0030c45731298bcb3c237b122256d2855ae (diff)
downloadCMake-471ebc590e3349483cca261d2bc149705e4d162d.zip
CMake-471ebc590e3349483cca261d2bc149705e4d162d.tar.gz
CMake-471ebc590e3349483cca261d2bc149705e4d162d.tar.bz2
Merge branch 'upstream-librhash' into update-librhash
* upstream-librhash: librhash 2019-12-14 (75716b45)
Diffstat (limited to 'Utilities/cmlibrhash/librhash/util.h')
-rw-r--r--Utilities/cmlibrhash/librhash/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibrhash/librhash/util.h b/Utilities/cmlibrhash/librhash/util.h
index 9f37157..57cae9b 100644
--- a/Utilities/cmlibrhash/librhash/util.h
+++ b/Utilities/cmlibrhash/librhash/util.h
@@ -20,7 +20,7 @@ extern "C" {
# define atomic_compare_and_swap(ptr, oldval, newval) atomic_cas_32(ptr, oldval, newval)
#else
/* pray that it will work */
-# define atomic_compare_and_swap(ptr, oldval, newval) { if(*(ptr) == (oldval)) *(ptr) = (newval); }
+# define atomic_compare_and_swap(ptr, oldval, newval) { if (*(ptr) == (oldval)) *(ptr) = (newval); }
# define NO_ATOMIC_BUILTINS
#endif