diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-06-12 16:07:12 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-27 19:25:25 +0300 |
commit | 4972d592113c627d4b6ea1be5c94a85b56099afd (patch) | |
tree | 1ccf666e73b5a5f37e89e60106ad9b32a8b7cad1 /kvm-all.c | |
parent | 5635efc388119e1c1cc03d19e88596c2b1a75bef (diff) |
win32: Add missing function ffs
mingw32 does not include function ffs.
Commit c6d29ad6e24533cc3762e1d654275607e1d03058 added a
declaration for ffs, but an implementation was missing.
For compilations with optimization, the compiler creates
inline code, so the implementation is not always needed.
Without optimization, linking fails without this patch.
v2: Use __builtin_ffs as suggested by Richard Henderson
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions