summaryrefslogtreecommitdiff
path: root/crc.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-10-28 04:24:22 -0400
committerJeffrey Walton <noloader@gmail.com>2018-10-28 04:24:22 -0400
commitc601213ce13f8413cf3af686c18232ee6d42a50f (patch)
tree78954647ca90e60da1c52785e7d6dafbfc7154c7 /crc.h
parente185cbd80335a7f1f9e69bb4c078f3369c047b9c (diff)
downloadcryptopp-git-c601213ce13f8413cf3af686c18232ee6d42a50f.tar.gz
Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools
Autotools sets up its config.h file with the '#define XXX 0' or '#define XXX 1' pattern. This check-in makes the sources Autotools aware. We need to verify CMake does the same
Diffstat (limited to 'crc.h')
-rw-r--r--crc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crc.h b/crc.h
index 006313e1..02332e4b 100644
--- a/crc.h
+++ b/crc.h
@@ -12,7 +12,7 @@ NAMESPACE_BEGIN(CryptoPP)
const word32 CRC32_NEGL = 0xffffffffL;
-#ifdef CRYPTOPP_LITTLE_ENDIAN
+#if (CRYPTOPP_LITTLE_ENDIAN)
#define CRC32_INDEX(c) (c & 0xff)
#define CRC32_SHIFTED(c) (c >> 8)
#else