PATCH: Declare "ffs" in libiberty

Mark Mitchell mark@codesourcery.com
Mon Mar 28 23:34:00 GMT 2005


Ian Lance Taylor wrote:
> DJ Delorie <dj@redhat.com> writes:
> 
> 
>>>+ #ifdef __MINGW32__
>>>+ extern int ffs(int);
>>>+ #endif
>>
>>I wonder if we should have HAVE_DECL_* logic around it too?
> 
> 
> I think we should.  I'm sure there are Unix systems which do not
> declare ffs.

OK, how about this patch, then?  (Then, I'll have to make changes to the 
BFD configury to define HAVE_DECL_FFS, too, but this change is a 
prerequisite.)

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libiberty.ffs
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050328/c5804147/attachment.ksh>


More information about the Gcc-patches mailing list