Define a "__weak" macro for declaring symbols "weak".

This commit is contained in:
hselasky 2014-07-02 08:45:26 +00:00
parent 3820ac174b
commit 8be13d302e

View File

@ -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