From fc69bcce03b1b52b84431589692929ec695221a7 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Thu, 3 Dec 2020 13:42:53 +0800 Subject: [PATCH] dr_mp3: Fix Windows ARM64 compilation. Based on lieff/minimp3@0d0c452dc76f744ceea4782de17bb735163cdee4. dr_mp3 is based on minimp3, thus have similar structure. Ieally, we should update dr_mp3, but it makes the commit noisy and dr_mp3 is updated often so an update to dr_mp3 should be done before new LOVE releases. --- src/libraries/dr/dr_mp3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/dr/dr_mp3.h b/src/libraries/dr/dr_mp3.h index c876c064b..4fe386abe 100644 --- a/src/libraries/dr/dr_mp3.h +++ b/src/libraries/dr/dr_mp3.h @@ -617,7 +617,7 @@ end: return g_have_simd - 1; #endif } -#elif defined(__ARM_NEON) || defined(__aarch64__) +#elif defined(__ARM_NEON) || defined(__aarch64__) || defined(_M_ARM64) #include #define DRMP3_HAVE_SSE 0 #define DRMP3_HAVE_SIMD 1