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:
Khem Raj
2023-09-22 14:05:05 -07:00
committed by Richard Purdie
parent 9215dc3208
commit 53809d9b01

View File

@@ -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_ */