summaryrefslogtreecommitdiff
path: root/integer.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-11-10 14:15:30 -0500
committerJeffrey Walton <noloader@gmail.com>2017-11-10 14:15:30 -0500
commit69c8a4f9c6970f7453bc33aa82b542754172ff31 (patch)
tree0585834b0a9003821994f6965b69c8a20be221a7 /integer.cpp
parent8e06391ad3f14d438c3ebbfaddacff8e470cbaa3 (diff)
downloadcryptopp-git-69c8a4f9c6970f7453bc33aa82b542754172ff31.tar.gz
Prefix IS_LITTLE_ENDIAN and IS_BIG_ENDIAN with CRYPTOPP
Diffstat (limited to 'integer.cpp')
-rw-r--r--integer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/integer.cpp b/integer.cpp
index 732c7962..8eadc47e 100644
--- a/integer.cpp
+++ b/integer.cpp
@@ -318,7 +318,7 @@ public:
#endif
{
#if defined(CRYPTOPP_NATIVE_DWORD_AVAILABLE)
-# if defined(IS_LITTLE_ENDIAN)
+# if defined(CRYPTOPP_LITTLE_ENDIAN)
const word t[2] = {low,high};
memcpy(&m_whole, &t, sizeof(m_whole));
# else
@@ -423,7 +423,7 @@ private:
// Thanks to Martin Bonner at http://stackoverflow.com/a/39507183
struct half_words
{
- #ifdef IS_LITTLE_ENDIAN
+ #ifdef CRYPTOPP_LITTLE_ENDIAN
word low;
word high;
#else