From b082091bcb1f71c852ec46760d5985098ec9c7f8 Mon Sep 17 00:00:00 2001 From: Fabian Giesen Date: Thu, 18 Dec 2014 08:31:03 -0800 Subject: [PATCH] stb_image: GCC fix for new SIMD stuff. --- stb_image.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stb_image.h b/stb_image.h index adc779c..1831028 100644 --- a/stb_image.h +++ b/stb_image.h @@ -414,11 +414,6 @@ static int stbi__sse2_available() #else // assume GCC-style if not VC++ #define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16))) -#endif -#endif - -#ifndef STBI_SIMD_ALIGN -#define STBI_SIMD_ALIGN(type, name) type name static int stbi__sse2_available() { @@ -432,6 +427,11 @@ static int stbi__sse2_available() #endif } #endif +#endif + +#ifndef STBI_SIMD_ALIGN +#define STBI_SIMD_ALIGN(type, name) type name +#endif /////////////////////////////////////////////// // -- GitLab