mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-24 17:01:21 -04:00
fix builds with prefix
This commit is contained in:
parent
becadc57a5
commit
e85c69a0a4
2 changed files with 4 additions and 1 deletions
3
util.h
3
util.h
|
@ -10,6 +10,9 @@
|
|||
#define UNUSED __attribute__((unused))
|
||||
#define EXPORT __attribute__((visibility("default")))
|
||||
|
||||
#define stringify(s) #s
|
||||
#define ALIAS(f) __attribute__((alias(stringify(f))))
|
||||
|
||||
static inline int ffzl(long x) {
|
||||
return __builtin_ffsl(~x);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue