diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-10-28 03:42:50 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-10-28 03:42:50 -0400 |
commit | e185cbd80335a7f1f9e69bb4c078f3369c047b9c (patch) | |
tree | a2115c89becec88a2c7e22c0c2fe879b7fa67fae /integer.cpp | |
parent | a7615a8c7c59f5c11e784c8d3b39c9030b8929a1 (diff) | |
download | cryptopp-git-e185cbd80335a7f1f9e69bb4c078f3369c047b9c.tar.gz |
Revert "Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools"
This reverts commit 04306f86ac36. It broke GCC 4.8 on PowerPC.
Diffstat (limited to 'integer.cpp')
-rw-r--r-- | integer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integer.cpp b/integer.cpp index 35420c58..ff807547 100644 --- a/integer.cpp +++ b/integer.cpp @@ -285,7 +285,7 @@ public: #endif
{
#if defined(CRYPTOPP_NATIVE_DWORD_AVAILABLE)
-# if (CRYPTOPP_LITTLE_ENDIAN)
+# if defined(CRYPTOPP_LITTLE_ENDIAN)
const word t[2] = {low,high};
memcpy(&m_whole, t, sizeof(m_whole));
# else
|