diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-18 18:26:08 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-18 18:26:08 +0300 |
commit | 345c43bd6c7ddff26d3db804008f4bc72e12a546 (patch) | |
tree | 6c80756961a2c54522735326ca00f87c1745ac8a /i686/musl/files/cdefs.h | |
parent | c57f2c6f133c5409b9c67c874cf6aee4c5010693 (diff) | |
download | repository-345c43bd6c7ddff26d3db804008f4bc72e12a546.tar.gz |
i686: add new repository
Diffstat (limited to 'i686/musl/files/cdefs.h')
-rwxr-xr-x | i686/musl/files/cdefs.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/i686/musl/files/cdefs.h b/i686/musl/files/cdefs.h new file mode 100755 index 00000000..209a623c --- /dev/null +++ b/i686/musl/files/cdefs.h @@ -0,0 +1,26 @@ +#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 |