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
1386d0ec02
commit
21af70e083
@ -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