[Mesa-dev] [PATCH 1/3] u_math.h: Remove redundant mingw32 ffs definition

Brian Paul brian.e.paul at gmail.com
Fri May 13 07:32:41 PDT 2011


On Sun, May 8, 2011 at 10:17 PM, Matt Turner <mattst88 at gmail.com> wrote:
> Signed-off-by: Matt Turner <mattst88 at gmail.com>
> ---
>  src/gallium/auxiliary/util/u_math.h |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
> index dad6a10..ad2a1f8 100644
> --- a/src/gallium/auxiliary/util/u_math.h
> +++ b/src/gallium/auxiliary/util/u_math.h
> @@ -413,10 +413,6 @@ unsigned ffs( unsigned u )
>  #define ffs __builtin_ffs
>  #endif
>
> -#ifdef __MINGW32__
> -#define ffs __builtin_ffs
> -#endif
> -
>
>  /* Could also binary search for the highest bit.
>  */
> --

I've applied patches 1-3. Thanks.  Sorry for the slow reply, I've got
a backlog of email.

-Brian


More information about the mesa-dev mailing list