mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Define a "__weak" macro for declaring symbols "weak".
This commit is contained in:
parent
a6bad85e8e
commit
cdd3cd4b29
1 changed files with 2 additions and 0 deletions
|
|
@ -210,7 +210,9 @@
|
|||
#define __packed
|
||||
#define __aligned(x)
|
||||
#define __section(x)
|
||||
#define __weak
|
||||
#else
|
||||
#define __weak __attribute__((__weak__))
|
||||
#if !__GNUC_PREREQ__(2, 5) && !defined(__INTEL_COMPILER)
|
||||
#define __dead2
|
||||
#define __pure2
|
||||
|
|
|
|||
Loading…
Reference in a new issue