Fix -O builds with gcc 3.4 by defining ffs as __builtin_ffs instead of
creating an inline function that just calls __builtin_ffs.
This commit is contained in:
parent
3cd25b7e7b
commit
f95c91bcee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132871
@ -48,12 +48,7 @@ breakpoint(void)
|
||||
}
|
||||
|
||||
#define HAVE_INLINE_FFS
|
||||
|
||||
static __inline int
|
||||
ffs(int mask)
|
||||
{
|
||||
return (__builtin_ffs(mask));
|
||||
}
|
||||
#define ffs(x) __builtin_ffs(x)
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user