From: Khem Raj Date: Fri, 22 Sep 2023 21:05:05 +0000 (-0700) Subject: bsd-headers: Define __CONCAT and __STRING X-Git-Tag: yocto-5.2~5090 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0796d65369737ddf530a04ae534e81022c1ba005;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bsd-headers: Define __CONCAT and __STRING Sync with other musl distros Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/musl/bsd-headers/sys-cdefs.h b/meta/recipes-core/musl/bsd-headers/sys-cdefs.h index 209a623c0f0..841a5da8ba4 100644 --- a/meta/recipes-core/musl/bsd-headers/sys-cdefs.h +++ b/meta/recipes-core/musl/bsd-headers/sys-cdefs.h @@ -1,3 +1,6 @@ +#ifndef _SYS_CDEFS_H_ +#define _SYS_CDEFS_H_ + #warning usage of non-standard #include 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_ */