summaryrefslogtreecommitdiff
path: root/config_cxx.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-08-06 03:08:37 -0400
committerJeffrey Walton <noloader@gmail.com>2020-08-06 03:08:37 -0400
commit3f73f709b84ef28a89f9ae04831980d95d97db4c (patch)
tree3591f2c561b6b9ea98e6a89adbe8c2711b2c04f6 /config_cxx.h
parent37368ddb9490a7e54291bc7cce6dacb9731d3fbb (diff)
downloadcryptopp-git-3f73f709b84ef28a89f9ae04831980d95d97db4c.tar.gz
Use CRYPTOPP_CXX11_ATOMIC define
Diffstat (limited to 'config_cxx.h')
-rw-r--r--config_cxx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config_cxx.h b/config_cxx.h
index 0088bbe0..4aa01bec 100644
--- a/config_cxx.h
+++ b/config_cxx.h
@@ -99,7 +99,7 @@
// atomics: MS at VS2012 (17.00); GCC at 4.4; Clang at 3.1/3.2; Intel 13.0; SunCC 5.14.
#if (CRYPTOPP_MSC_VERSION >= 1700) || __has_feature(cxx_atomic) || \
(__INTEL_COMPILER >= 1300) || (CRYPTOPP_GCC_VERSION >= 40400) || (__SUNPRO_CC >= 0x5140)
-# define CRYPTOPP_CXX11_ATOMICS 1
+# define CRYPTOPP_CXX11_ATOMIC 1
#endif // atomics
// synchronization: MS at VS2012 (17.00); GCC at 4.4; Clang at 3.3; Xcode 5.0; Intel 12.0; SunCC 5.13.