diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-10-28 04:24:22 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-10-28 04:24:22 -0400 |
commit | c601213ce13f8413cf3af686c18232ee6d42a50f (patch) | |
tree | 78954647ca90e60da1c52785e7d6dafbfc7154c7 /validat1.cpp | |
parent | e185cbd80335a7f1f9e69bb4c078f3369c047b9c (diff) | |
download | cryptopp-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 'validat1.cpp')
-rw-r--r-- | validat1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validat1.cpp b/validat1.cpp index b6f2f65a..d7b4ae19 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -1121,7 +1121,7 @@ bool TestAltivecOps() pass1 = (0 == std::memcmp(st3, dest+3, 16)) && pass1;
CRYPTOPP_ASSERT(pass1);
-#if defined(CRYPTOPP_LITTLE_ENDIAN)
+#if (CRYPTOPP_LITTLE_ENDIAN)
VectorStore(VectorLoadBE(src), dest);
pass1 = (0 != std::memcmp(src, dest, 16)) && pass1;
CRYPTOPP_ASSERT(pass1);
|