From: Jose Fonseca Date: Wed, 4 Feb 2015 14:58:20 +0000 (+0000) Subject: gallium/util: Define ffsll on MinGW. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46f1033067b3fc118048bf30e47b1270ae471371;p=mesa.git gallium/util: Define ffsll on MinGW. Trivial. (Fixing MSVC will be far less so, as _BitScanForward64 is only supported on x64.) --- diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h index 8eb840f1ec0..7687100ae65 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/src/gallium/auxiliary/util/u_math.h @@ -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 */