Compare commits

...
1 Commits
Author SHA1 Message Date
dkeruza 543ebe4817 Workaround 2025-02-17 22:12:40 -05:00
+4 -4
View File
@@ -702,14 +702,14 @@ static int stbi__sse2_available()
static int stbi__sse2_available() static int stbi__sse2_available()
{ {
#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 // GCC 4.8 or later //#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 // GCC 4.8 or later
// GCC 4.8+ has a nice way to do this // GCC 4.8+ has a nice way to do this
return __builtin_cpu_supports("sse2"); //return __builtin_cpu_supports("sse2");
#else //#else
// portable way to do this, preferably without using GCC inline ASM? // portable way to do this, preferably without using GCC inline ASM?
// just bail for now. // just bail for now.
return 0; return 0;
#endif //#endif
} }
#endif #endif
#endif #endif