xref: /haiku/headers/posix/sys/cdefs.h (revision 67bce78b48ed6d01b5a8eef89f5694c372b7e0a1)
1 #ifndef _SYS_CDEFS_H
2 #define _SYS_CDEFS_H
3 
4 
5 #ifndef __P
6 #define	__P(s) s
7 #endif
8 
9 #ifndef __CONCAT
10 #define	__CONCAT(x,y)	x ## y
11 #endif
12 
13 #ifndef __STRING
14 #define	__STRING(x)		#x
15 #endif
16 
17 #if defined(__cplusplus)
18 #define	__BEGIN_DECLS	extern "C" {
19 #define	__END_DECLS	};
20 #else
21 #define	__BEGIN_DECLS
22 #define	__END_DECLS
23 #endif
24 
25 #define __dead
26 #define __dead2
27 
28 
29 #endif
30