OSDN Git Service

Initial revision
[uclinux-h8/uClibc.git] / include / sys / cdefs.h
1
2 #ifndef __SYS_CDEFS_H
3 #define __SYS_CDEFS_H
4 #include <features.h>
5
6 #if defined (__STDC__) && __STDC__
7
8 #define __CONCAT(x,y)   x ## y
9 #define __STRING(x)     #x
10
11 /* This is not a typedef so `const __ptr_t' does the right thing.  */
12 #define __ptr_t void *
13 typedef long double __long_double_t;
14
15 #else
16
17 #define __CONCAT(x,y)   x/**/y
18 #define __STRING(x)     "x"
19
20 #define __ptr_t char *
21
22 #ifndef __HAS_NO_FLOATS__
23 typedef double __long_double_t;
24 #endif
25
26 #endif
27
28 /* No C++ */
29 #define __BEGIN_DECLS
30 #define __END_DECLS
31
32 /* GNUish things */
33 #define __CONSTVALUE
34 #define __CONSTVALUE2
35
36 #endif