ref: cf038fa3dfdb0f469fd23795939009bf3c354d4a
parent: 41659670c07c2fbfe9d5d7d0f6b68fd0c36c495c
author: lieff <lieff@users.noreply.github.com>
date: Fri Nov 1 15:36:49 EDT 2019
fix -Werror=undef warnings
--- a/minimp3.h
+++ b/minimp3.h
@@ -163,6 +163,7 @@
}
#elif defined(__ARM_NEON) || defined(__aarch64__)
#include <arm_neon.h>
+#define HAVE_SSE 0
#define HAVE_SIMD 1
#define VSTORE vst1q_f32
#define VLD vld1q_f32
@@ -180,6 +181,7 @@
return 1;
}
#else /* SIMD checks... */
+#define HAVE_SSE 0
#define HAVE_SIMD 0
#ifdef MINIMP3_ONLY_SIMD
#error MINIMP3_ONLY_SIMD used, but SSE/NEON not enabled