diff --git a/stb_image.h b/stb_image.h index adc779c05c56d33d628003b64423740cbaa4ae3d..18310280c0c0780023984ab8bbc702c046e30bb6 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 /////////////////////////////////////////////// //