From 46f1033067b3fc118048bf30e47b1270ae471371 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Wed, 4 Feb 2015 14:58:20 +0000 Subject: [PATCH] gallium/util: Define ffsll on MinGW. Trivial. (Fixing MSVC will be far less so, as _BitScanForward64 is only supported on x64.) --- src/gallium/auxiliary/util/u_math.h | 1 + 1 file changed, 1 insertion(+) 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 */ -- 2.30.2