Guard CPU_ProbeARMv7 with CRYPTOPP_BOOL_ARM32 (GH #844)
We make these queries available on all platforms so folks don't need to guard code.pull/853/head
parent
c456d6aa69
commit
40251d9b7f
|
|
@ -114,11 +114,10 @@ bool CPU_ProbeARMv7()
|
||||||
sigprocmask(SIG_SETMASK, (sigset_t*)&oldMask, NULLPTR);
|
sigprocmask(SIG_SETMASK, (sigset_t*)&oldMask, NULLPTR);
|
||||||
signal(SIGILL, oldHandler);
|
signal(SIGILL, oldHandler);
|
||||||
return result;
|
return result;
|
||||||
# else
|
|
||||||
return false;
|
|
||||||
# endif
|
# endif
|
||||||
|
#else
|
||||||
return false;
|
return false;
|
||||||
#endif // CRYPTOPP_ARM_NEON_AVAILABLE
|
#endif // CRYPTOPP_BOOL_ARM32
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CPU_ProbeNEON()
|
bool CPU_ProbeNEON()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue