more magic incantations to make crypto extensions work on Android/ARM64

This commit is contained in:
Grant Limberg 2020-09-22 10:28:31 -07:00
parent 8131680735
commit 7d8cfb1fee
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
4 changed files with 9 additions and 3 deletions

View file

@ -46,6 +46,10 @@
#include <TargetConditionals.h>
#endif
#if defined(__ANDROID__) && defined(__aarch64__)
#include <asm/hwcap.h>
#endif
namespace ZeroTier {
const uint64_t Utils::ZERO256[4] = {0ULL,0ULL,0ULL,0ULL};