From 84b72f12d42e08fe989752ce36e1972bb11c8d70 Mon Sep 17 00:00:00 2001
From: Erik Kundiman <erik@megapahit.org>
Date: Thu, 17 Aug 2023 21:01:51 +0800
Subject: Neon is used as an alternative to SSE2

on Arm systems.
---
 indra/llcommon/llmemory.h | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'indra/llcommon/llmemory.h')

diff --git a/indra/llcommon/llmemory.h b/indra/llcommon/llmemory.h
index b67a8c9bc0..dd9867c9b3 100644
--- a/indra/llcommon/llmemory.h
+++ b/indra/llcommon/llmemory.h
@@ -71,7 +71,11 @@ LL_COMMON_API void ll_assert_aligned_func(uintptr_t ptr,U32 alignment);
 #define ll_assert_aligned(ptr,alignment)
 #endif
 
+#if defined(__i386__) || defined(__x86_64__)
 #include <xmmintrin.h>
+#else
+#include <sse2neon.h>
+#endif
 
 template <typename T> T* LL_NEXT_ALIGNED_ADDRESS(T* address) 
 { 
-- 
cgit v1.2.3