mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
bsd-headers: Define __CONCAT and __STRING
Sync with other musl distros (From OE-Core rev: 0796d65369737ddf530a04ae534e81022c1ba005) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#ifndef _SYS_CDEFS_H_
|
||||
#define _SYS_CDEFS_H_
|
||||
|
||||
#warning usage of non-standard #include <sys/cdefs.h> is deprecated
|
||||
|
||||
#undef __P
|
||||
@@ -24,3 +27,8 @@
|
||||
# define __THROW
|
||||
# define __NTH(fct) fct
|
||||
#endif
|
||||
|
||||
#define __CONCAT(x,y) x ## y
|
||||
#define __STRING(x) #x
|
||||
|
||||
#endif /* _SYS_CDEFS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user