]> git.armaanb.net Git - asd-repo.git/blob - core/musl/files/cdefs.h
Adapt for asd linux
[asd-repo.git] / core / musl / files / cdefs.h
1 #undef __P
2 #undef __PMT
3
4 #define __P(args)       args
5 #define __PMT(args)     args
6
7 #define __CONCAT(x,y)   x ## y
8 #define __STRING(x)     #x
9
10 #ifdef  __cplusplus
11 # define __BEGIN_DECLS  extern "C" {
12 # define __END_DECLS    }
13 #else
14 # define __BEGIN_DECLS
15 # define __END_DECLS
16 #endif
17
18 #if defined(__GNUC__) && !defined(__cplusplus)
19 # define __THROW        __attribute__ ((__nothrow__))
20 # define __NTH(fct)     __attribute__ ((__nothrow__)) fct
21 #else
22 # define __THROW
23 # define __NTH(fct)     fct
24 #endif