From 8e83d7a8ff431accdffd7a472f0f3a68f69d8bb9 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 11 Nov 2018 08:00:45 -0500 Subject: [PATCH] Use __GNUC__ for POWER8 AES availability test --- TestPrograms/test_power8.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestPrograms/test_power8.cxx b/TestPrograms/test_power8.cxx index 9e864e10..09412912 100644 --- a/TestPrograms/test_power8.cxx +++ b/TestPrograms/test_power8.cxx @@ -8,7 +8,7 @@ int main(int argc, char* argv[]) x=__vcipherlast(x,x); x=__vncipher(x,x); x=__vncipherlast(x,x); -#elif defined(CRYPTOPP_GCC_VERSION) +#elif defined(__GNUC__) __vector unsigned long long x; x=__builtin_crypto_vcipher(x,x); x=__builtin_crypto_vcipherlast(x,x);