gallium/util: Define ffsll on MinGW.

Trivial.

(Fixing MSVC will be far less so, as _BitScanForward64 is only supported on x64.)
This commit is contained in:
Jose Fonseca
2015-02-04 14:58:20 +00:00
parent 6c5af1dc4e
commit 46f1033067
+1
View File
@@ -530,6 +530,7 @@ unsigned ffs( unsigned u )
}
#elif defined(__MINGW32__) || defined(PIPE_OS_ANDROID)
#define ffs __builtin_ffs
#define ffsll __builtin_ffsll
#endif
#endif /* FFS_DEFINED */