Guard probe functions

This broke Aarch64
pull/507/head
Jeffrey Walton 2017-09-12 05:49:38 -04:00
parent d748d4cfbe
commit cfb63decec
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ extern "C" {
};
#endif // Not CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY
#if (CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64)
bool CPU_ProbeAltivec()
{
#if (CRYPTOPP_ALTIVEC_AVAILABLE)
@ -317,5 +318,5 @@ bool CPU_ProbeSHA2()
return false;
#endif // CRYPTOPP_ALTIVEC_AVAILABLE
}
# endif // CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64
NAMESPACE_END