X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/5d25fbdc59ba08735c4f82c5d9c080d6e7bb6567..7c8c2fc9a6d1008149ee8ce11a7958ab427fc05a:/lib/bits.c diff --git a/lib/bits.c b/lib/bits.c index d570e64..6b5273b 100644 --- a/lib/bits.c +++ b/lib/bits.c @@ -29,6 +29,7 @@ #include "bits.h" +#if !HAVE_FLS /** @brief Compute index of leftmost 1 bit * @param n Integer * @return Index of leftmost 1 bit or -1 @@ -69,7 +70,7 @@ int leftmost_bit(uint32_t n) { */ return x - 1; } - +#endif /* Local Variables: