From b0224485aaecd0f98f61c0c77663ecba14302687 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 3 May 2016 05:38:36 -0400 Subject: Fix placement of alignas - fixes Mac OS X build --- Alc/mixer_sse3.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Alc/mixer_sse3.c') diff --git a/Alc/mixer_sse3.c b/Alc/mixer_sse3.c index 7085c537..1b946461 100644 --- a/Alc/mixer_sse3.c +++ b/Alc/mixer_sse3.c @@ -36,8 +36,8 @@ const ALfloat *Resample_fir4_32_SSE3(const BsincState* UNUSED(state), const ALfl { const __m128i increment4 = _mm_set1_epi32(increment*4); const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK); - alignas(16) union { ALuint i[4]; float f[4]; } pos_; - alignas(16) union { ALuint i[4]; float f[4]; } frac_; + union { alignas(16) ALuint i[4]; float f[4]; } pos_; + union { alignas(16) ALuint i[4]; float f[4]; } frac_; __m128i frac4, pos4; ALuint pos; ALuint i; @@ -100,8 +100,8 @@ const ALfloat *Resample_fir8_32_SSE3(const BsincState* UNUSED(state), const ALfl { const __m128i increment4 = _mm_set1_epi32(increment*4); const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK); - alignas(16) union { ALuint i[4]; float f[4]; } pos_; - alignas(16) union { ALuint i[4]; float f[4]; } frac_; + union { alignas(16) ALuint i[4]; float f[4]; } pos_; + union { alignas(16) ALuint i[4]; float f[4]; } frac_; __m128i frac4, pos4; ALuint pos; ALuint i, j; -- cgit v1.2.3