i mistyped arm64_neon headers ONCE AGAIN
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
f8f59e3cbb
commit
7a96165b69
1 changed files with 7 additions and 4 deletions
|
|
@ -1,17 +1,20 @@
|
||||||
diff --git a/library/common.h b/library/common.h
|
diff --git a/library/common.h b/library/common.h
|
||||||
index 50f2a29..46dc82c 100644
|
index 50f2a29..c60d9dc 100644
|
||||||
--- a/library/common.h
|
--- a/library/common.h
|
||||||
+++ b/library/common.h
|
+++ b/library/common.h
|
||||||
@@ -19,10 +19,10 @@
|
@@ -19,11 +19,11 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
-#if defined(__ARM_NEON)
|
-#if defined(__ARM_NEON)
|
||||||
|
-#include <arm_neon.h>
|
||||||
+#if defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
|
+#if defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
|
||||||
#include <arm_neon.h>
|
+#include <arm64_neon.h.h>
|
||||||
#define MBEDTLS_HAVE_NEON_INTRINSICS
|
#define MBEDTLS_HAVE_NEON_INTRINSICS
|
||||||
-#elif defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
|
-#elif defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
|
||||||
|
-#include <arm64_neon.h>
|
||||||
+#elif defined(__ANDROID__) || defined(__ARM_NEON)
|
+#elif defined(__ANDROID__) || defined(__ARM_NEON)
|
||||||
#include <arm64_neon.h>
|
+#include <arm_neon.h>
|
||||||
#define MBEDTLS_HAVE_NEON_INTRINSICS
|
#define MBEDTLS_HAVE_NEON_INTRINSICS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue