summaryrefslogtreecommitdiff
path: root/integer.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-10-28 03:42:50 -0400
committerJeffrey Walton <noloader@gmail.com>2018-10-28 03:42:50 -0400
commite185cbd80335a7f1f9e69bb4c078f3369c047b9c (patch)
treea2115c89becec88a2c7e22c0c2fe879b7fa67fae /integer.cpp
parenta7615a8c7c59f5c11e784c8d3b39c9030b8929a1 (diff)
downloadcryptopp-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.cpp2
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