stb_image: GCC fix for new SIMD stuff.

This commit is contained in:
Fabian Giesen 2014-12-18 08:31:03 -08:00
parent 42bb08b10b
commit b082091bcb
1 changed files with 5 additions and 5 deletions

View File

@ -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
///////////////////////////////////////////////
//