summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-09-22 14:05:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-26 10:25:42 +0100
commit53809d9b01410f5f2bc088bdf22e8a2343fdcc2f (patch)
tree6398d0f5191074caf5e72acc5e84a1ed1c6c1e60 /meta/recipes-core
parent9215dc3208b0638915f937afcf0611855f1925aa (diff)
downloadpoky-53809d9b01410f5f2bc088bdf22e8a2343fdcc2f.tar.gz
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/musl/bsd-headers/sys-cdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-core/musl/bsd-headers/sys-cdefs.h b/meta/recipes-core/musl/bsd-headers/sys-cdefs.h
index 209a623c0f..841a5da8ba 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 @@
1#ifndef _SYS_CDEFS_H_
2#define _SYS_CDEFS_H_
3
1#warning usage of non-standard #include <sys/cdefs.h> is deprecated 4#warning usage of non-standard #include <sys/cdefs.h> is deprecated
2 5
3#undef __P 6#undef __P
@@ -24,3 +27,8 @@
24# define __THROW 27# define __THROW
25# define __NTH(fct) fct 28# define __NTH(fct) fct
26#endif 29#endif
30
31#define __CONCAT(x,y) x ## y
32#define __STRING(x) #x
33
34#endif /* _SYS_CDEFS_H_ */