1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

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

This commit is contained in:
Hans Petter Selasky 2014-07-02 08:45:26 +00:00
parent a6bad85e8e
commit cdd3cd4b29
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268137

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