|
|
@@ -195,7 +195,11 @@ static int stbi__sse2_available()
|
|
|
{
|
|
|
#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 // GCC 4.8 or later
|
|
|
// GCC 4.8+ has a nice way to do this
|
|
|
- return __builtin_cpu_supports("sse2");
|
|
|
+ // ATOMIC BEGIN
|
|
|
+ // We only do 64 bit Linux, and all x64 have sse2
|
|
|
+ // this was causing a problem: https://github.com/nothings/stb/issues/280
|
|
|
+ return 1;//__builtin_cpu_supports("sse2");
|
|
|
+ // ATOMIC END
|
|
|
#else
|
|
|
// portable way to do this, preferably without using GCC inline ASM?
|
|
|
// just bail for now.
|