X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/52b88d2428a808d0636a1cb8205a1f891fc23e6a..448d3570a4b73f0056c4bb61c5d80e4778a5e0bd:/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: