shithub: mp3dec

Download patch

ref: 31059cf2904c714dcd0e995efe3b416b7498d483
parent: 09dbc2a2d426f20f39f0ea280f6f3006a705390b
author: lieff <lieff@users.noreply.github.com>
date: Sat Jan 27 13:22:08 EST 2018

add MINIMP3_ONLY_SIMD protection when SIMD not enabled

--- a/minimp3.h
+++ b/minimp3.h
@@ -176,6 +176,9 @@
 }
 #else
 #   define HAVE_SIMD 0
+#ifdef MINIMP3_ONLY_SIMD
+#error MINIMP3_ONLY_SIMD used, but SSE/NEON not enabled
+#endif
 #endif
 
 typedef struct