BeBuild.h: Add _DEPRECATED.
Change-Id: I983e89fa5324983f3721c50904d2a1d9b2014009 Reviewed-on: https://review.haiku-os.org/c/haiku/+/9087 Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: X512 X512 <[email protected]> Reviewed-by: nephele nephele <[email protected]> Tested-by: Commit checker robot <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
nephele nephele
parent
139bf65f0d
commit
d640e20575
@@ -90,9 +90,11 @@
|
|||||||
#if __GNUC__ >= 4
|
#if __GNUC__ >= 4
|
||||||
# define _ALIGNED_BY_ARG(_no_) __attribute__((alloc_align(_no_)))
|
# define _ALIGNED_BY_ARG(_no_) __attribute__((alloc_align(_no_)))
|
||||||
# define _EXPORT __attribute__((visibility("default")))
|
# define _EXPORT __attribute__((visibility("default")))
|
||||||
|
# define _DEPRECATED __attribute__((__deprecated__))
|
||||||
#else
|
#else
|
||||||
# define _ALIGNED_BY_ARG(_no_)
|
# define _ALIGNED_BY_ARG(_no_)
|
||||||
# define _EXPORT
|
# define _EXPORT
|
||||||
|
# define _DEPRECATED
|
||||||
#endif
|
#endif
|
||||||
#define _IMPORT
|
#define _IMPORT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user