use consistent macro naming convention
parent
829ace403f
commit
6372fee410
4
util.h
4
util.h
|
@ -10,8 +10,8 @@
|
||||||
#define UNUSED __attribute__((unused))
|
#define UNUSED __attribute__((unused))
|
||||||
#define EXPORT __attribute__((visibility("default")))
|
#define EXPORT __attribute__((visibility("default")))
|
||||||
|
|
||||||
#define stringify(s) #s
|
#define STRINGIFY(s) #s
|
||||||
#define ALIAS(f) __attribute__((alias(stringify(f))))
|
#define ALIAS(f) __attribute__((alias(STRINGIFY(f))))
|
||||||
|
|
||||||
static inline int ffzl(long x) {
|
static inline int ffzl(long x) {
|
||||||
return __builtin_ffsl(~x);
|
return __builtin_ffsl(~x);
|
||||||
|
|
Loading…
Reference in New Issue