chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Assume initial digits in a track name are a sort key even without the
[disorder]
/
lib
/
bits.c
diff --git
a/lib/bits.c
b/lib/bits.c
index d570e6407da875e2781b2c03dced9784634c7bec..4ed2402cae9f89613ce230ea0d317a4c6f3a45b0 100644
(file)
--- a/
lib/bits.c
+++ b/
lib/bits.c
@@
-22,13
+22,13
@@
* @brief Bit operations
*/
* @brief Bit operations
*/
-#include <config.h>
-#include "types.h"
+#include "common.h"
#include <math.h>
#include "bits.h"
#include <math.h>
#include "bits.h"
+#if !HAVE_FLS
/** @brief Compute index of leftmost 1 bit
* @param n Integer
* @return Index of leftmost 1 bit or -1
/** @brief Compute index of leftmost 1 bit
* @param n Integer
* @return Index of leftmost 1 bit or -1
@@
-69,7
+69,7
@@
int leftmost_bit(uint32_t n) {
*/
return x - 1;
}
*/
return x - 1;
}
-
+#endif
/*
Local Variables:
/*
Local Variables: