Module: Mesa Branch: gallium-0.2 Commit: 462f09487efac27173c231b09861b4f5316eb11d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=462f09487efac27173c231b09861b4f5316eb11d
Author: José Fonseca <[email protected]> Date: Fri Jan 30 14:59:32 2009 +0000 util: Define ffs for MinGW. --- src/gallium/auxiliary/util/u_math.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h index aa4fa17..ab6f39a 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/src/gallium/auxiliary/util/u_math.h @@ -341,6 +341,10 @@ unsigned ffs( unsigned u ) } #endif +#ifdef __MINGW32__ +#define ffs __builtin_ffs +#endif + /** * Return float bits. _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
