[Qemu-devel] [PATCH] win32: Add missing function ffs

2010-06-12 Thread Stefan Weil
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 f

Re: [Qemu-devel] [PATCH] win32: Add missing function ffs

2010-06-11 Thread Richard Henderson
On 06/11/2010 01:57 PM, Stefan Weil wrote: > 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 implementati

[Qemu-devel] [PATCH] win32: Add missing function ffs

2010-06-11 Thread Stefan Weil
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 f