mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

This helps communicate the dependency a bit better (From OE-Core rev: 220d7451f65cb2e32a06503e36075889c63b0bd9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
539 B
C
27 lines
539 B
C
#warning usage of non-standard #include <sys/cdefs.h> is deprecated
|
|
|
|
#undef __P
|
|
#undef __PMT
|
|
|
|
#define __P(args) args
|
|
#define __PMT(args) args
|
|
|
|
#define __CONCAT(x,y) x ## y
|
|
#define __STRING(x) #x
|
|
|
|
#ifdef __cplusplus
|
|
# define __BEGIN_DECLS extern "C" {
|
|
# define __END_DECLS }
|
|
#else
|
|
# define __BEGIN_DECLS
|
|
# define __END_DECLS
|
|
#endif
|
|
|
|
#if defined(__GNUC__) && !defined(__cplusplus)
|
|
# define __THROW __attribute__ ((__nothrow__))
|
|
# define __NTH(fct) __attribute__ ((__nothrow__)) fct
|
|
#else
|
|
# define __THROW
|
|
# define __NTH(fct) fct
|
|
#endif
|