diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-02-04 14:58:20 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-02-04 14:58:20 +0000 |
commit | 46f1033067b3fc118048bf30e47b1270ae471371 (patch) | |
tree | 0f5508868b43a650e289497c140d7fd27953fb85 /src/gallium/auxiliary | |
parent | 6c5af1dc4e7871ddd0383713b9d5382318a34fc9 (diff) |
gallium/util: Define ffsll on MinGW.
Trivial.
(Fixing MSVC will be far less so, as _BitScanForward64 is only supported on x64.)
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_math.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |