recipes: libs/libtirpc: added version 1.2.5
[dragora.git] / archive / bsdcompat-headers / cdefs.h
blob209a623c0f0dd24fb53f1ef1fbf67fde8374ccd2
1 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
3 #undef __P
4 #undef __PMT
6 #define __P(args) args
7 #define __PMT(args) args
9 #define __CONCAT(x,y) x ## y
10 #define __STRING(x) #x
12 #ifdef __cplusplus
13 # define __BEGIN_DECLS extern "C" {
14 # define __END_DECLS }
15 #else
16 # define __BEGIN_DECLS
17 # define __END_DECLS
18 #endif
20 #if defined(__GNUC__) && !defined(__cplusplus)
21 # define __THROW __attribute__ ((__nothrow__))
22 # define __NTH(fct) __attribute__ ((__nothrow__)) fct
23 #else
24 # define __THROW
25 # define __NTH(fct) fct
26 #endif