From c601213ce13f8413cf3af686c18232ee6d42a50f Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 28 Oct 2018 04:24:22 -0400 Subject: 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 --- validat1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'validat1.cpp') 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); -- cgit v1.2.1