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:
marcel 2004-07-30 07:56:53 +00:00
parent 1386d0ec02
commit 21af70e083

View File

@ -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