From e185cbd80335a7f1f9e69bb4c078f3369c047b9c Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 28 Oct 2018 03:42:50 -0400 Subject: Revert "Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools" This reverts commit 04306f86ac36. It broke GCC 4.8 on PowerPC. --- validat1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'validat1.cpp') diff --git a/validat1.cpp b/validat1.cpp index d7b4ae19..b6f2f65a 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 (CRYPTOPP_LITTLE_ENDIAN) +#if defined(CRYPTOPP_LITTLE_ENDIAN) VectorStore(VectorLoadBE(src), dest); pass1 = (0 != std::memcmp(src, dest, 16)) && pass1; CRYPTOPP_ASSERT(pass1); -- cgit v1.2.1