Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / headers / posix / sys / cdefs.h
blob22eee9bd4741464bcfc046c34c7cebb3c5ba1b62
1 #ifndef _SYS_CDEFS_H
2 #define _SYS_CDEFS_H
5 #ifndef __THROW
6 #define __THROW
7 #endif
9 #ifndef __P
10 #define __P(s) s
11 #endif
13 #ifndef __CONCAT
14 #define __CONCAT(x,y) x ## y
15 #endif
17 #ifndef __STRING
18 #define __STRING(x) #x
19 #endif
21 #if defined(__cplusplus)
22 #define __BEGIN_DECLS extern "C" {
23 #define __END_DECLS };
24 #else
25 #define __BEGIN_DECLS
26 #define __END_DECLS
27 #endif
29 #define __dead
30 #define __dead2
32 #ifndef __weak_reference
33 #define __weak_reference(sym,alias) \
34 __asm__(".weak " #alias); \
35 __asm__(".equ " #alias ", " #sym)
36 #endif
38 #endif