23 lines
799 B
Diff
23 lines
799 B
Diff
From 819232a2b5a09d7aa3cacb8dcf7c2e28afde1b06 Mon Sep 17 00:00:00 2001
|
|
From: Moritz Warning <moritzwarning@web.de>
|
|
Date: Mon, 4 Jul 2022 00:10:52 +0200
|
|
Subject: [PATCH 2/2] fix compilation for arm_cortex-a7+neon
|
|
|
|
Fixes "error: 'vrbitq_u8' was not declared in this scope"
|
|
|
|
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
---
|
|
node/Constants.hpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/node/Constants.hpp
|
|
+++ b/node/Constants.hpp
|
|
@@ -123,7 +123,7 @@
|
|
#include <immintrin.h>
|
|
#endif
|
|
|
|
-#if (defined(__ARM_NEON) || defined(__ARM_NEON__) || defined(ZT_ARCH_ARM_HAS_NEON))
|
|
+#if (defined(__aarch64__) || defined(ZT_ARCH_ARM_HAS_NEON))
|
|
#if (defined(__APPLE__) && !defined(__LP64__)) || (defined(__ANDROID__) && defined(__arm__))
|
|
#ifdef ZT_ARCH_ARM_HAS_NEON
|
|
#undef ZT_ARCH_ARM_HAS_NEON
|