[PATCH] libport: Get rid of ffs

Alex Henrie alexhenrie24 at gmail.com
Fri May 29 12:39:35 CDT 2020


On Thu, May 28, 2020 at 12:11 PM Alexandre Julliard <julliard at winehq.org> wrote:
>
> Alex Henrie <alexhenrie24 at gmail.com> writes:
>
> > Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> > ---
> > This function is no longer used in Wine, and __builtin_ffs or
> > RtlFindLeastSignificantBit can be used instead when writing new code.
>
> It's still used in gdi32.

You're right, thanks for catching that. Do you think it would be
better to use RtlFindLeastSignificantBit in gdi32 or is it better off
using the system ffs function?

-Alex



More information about the wine-devel mailing list