mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
fixed redefenition of alias
This commit is contained in:
parent
be80191b46
commit
03aa110407
1 changed files with 3 additions and 1 deletions
4
util.h
4
util.h
|
@ -27,7 +27,9 @@
|
||||||
|
|
||||||
#define ALIAS(f)
|
#define ALIAS(f)
|
||||||
|
|
||||||
#ifndef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
#define ALIAS(f)
|
||||||
|
#else
|
||||||
#define STRINGIFY(s) #s
|
#define STRINGIFY(s) #s
|
||||||
#define ALIAS(f) __attribute__((alias(STRINGIFY(f))))
|
#define ALIAS(f) __attribute__((alias(STRINGIFY(f))))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue