freebsd: Only define __deprecated if it's not already defined
FreeBSD's sys/cdefs.h is about to start defining __deprecated. So, only define it away if it's not already defined for older branches, etc. Sponsored-by: Netflix Signed-off-by: Warner Losh <imp@bsdimp.com>
This commit is contained in:
parent
c7ada64bb6
commit
18269018e2
|
@ -50,7 +50,9 @@
|
|||
#define __cond_lock(x, c) (c)
|
||||
#define __bitwise
|
||||
#define __devinitdata
|
||||
#ifndef __deprecated
|
||||
#define __deprecated
|
||||
#endif
|
||||
#define __init
|
||||
#define __initconst
|
||||
#define __devinit
|
||||
|
|
Loading…
Reference in New Issue