sorry git, i messed up files again

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-10-20 05:15:41 +00:00 committed by crueter
parent 7fb0ef4c86
commit f8f59e3cbb
2 changed files with 2 additions and 19 deletions

View file

@ -1,17 +0,0 @@
diff --git a/library/common.h b/library/common.h
index 50f2a29..46dc82c 100644
--- a/library/common.h
+++ b/library/common.h
@@ -19,10 +19,10 @@
#include <stdint.h>
#include <stddef.h>
-#if defined(__ARM_NEON)
+#if defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
#include <arm_neon.h>
#define MBEDTLS_HAVE_NEON_INTRINSICS
-#elif defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
+#elif defined(__ANDROID__) || defined(__ARM_NEON)
#include <arm64_neon.h>
#define MBEDTLS_HAVE_NEON_INTRINSICS
#endif

View file

@ -1,5 +1,5 @@
diff --git a/library/common.h b/library/common.h
index 50f2a29..372e80c 100644
index 50f2a29..46dc82c 100644
--- a/library/common.h
+++ b/library/common.h
@@ -19,10 +19,10 @@
@ -11,7 +11,7 @@ index 50f2a29..372e80c 100644
#include <arm_neon.h>
#define MBEDTLS_HAVE_NEON_INTRINSICS
-#elif defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
+#else
+#elif defined(__ANDROID__) || defined(__ARM_NEON)
#include <arm64_neon.h>
#define MBEDTLS_HAVE_NEON_INTRINSICS
#endif