Define a "__weak" macro for declaring symbols "weak".
This commit is contained in:
parent
3820ac174b
commit
8be13d302e
@ -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…
x
Reference in New Issue
Block a user