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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user