summaryrefslogtreecommitdiff
path: root/donna_32.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-04-30 23:00:56 -0400
committerGitHub <noreply@github.com>2019-04-30 23:00:56 -0400
commit7ef3dacdc2cdd9d87e6ac74943b2b895cc8739c0 (patch)
tree8097e9d491045095c6741e9700d45b36528a8595 /donna_32.cpp
parentff544c386cefc8bb72c3f54cf592edbe4f5c5e0c (diff)
downloadcryptopp-git-7ef3dacdc2cdd9d87e6ac74943b2b895cc8739c0.tar.gz
Remove C++11 constexpr code for CRYPTOPP_ALIGN_DATA (PR #830)
I don't have faith in it even though it has tested good so far.
Diffstat (limited to 'donna_32.cpp')
-rw-r--r--donna_32.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/donna_32.cpp b/donna_32.cpp
index 2e07834a..cfbc6575 100644
--- a/donna_32.cpp
+++ b/donna_32.cpp
@@ -40,11 +40,9 @@ extern const char DONNA32_FNAME[] = __FILE__;
ANONYMOUS_NAMESPACE_BEGIN
// Can't use GetAlignmentOf<word32>() because of C++11 and constexpr
-// Can use 'const unsigned int' because of MSVC
+// Can use 'const unsigned int' because of MSVC 2013
#if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64)
# define ALIGN_SPEC 16
-#elif (CRYPTOPP_CXX11_ALIGNOF)
-# define ALIGN_SPEC alignof(CryptoPP::word32)
#else
# define ALIGN_SPEC 4
#endif