OSDN Git Service

Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>
[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
14 #else
15
16 #define __CONCAT(x,y)   x/**/y
17 #define __STRING(x)     "x"
18
19 #define __ptr_t char *
20
21 #endif
22
23 /* No C++ */
24 #define __BEGIN_DECLS
25 #define __END_DECLS
26
27 /* GNUish things */
28 #define __CONSTVALUE
29 #define __CONSTVALUE2
30
31 #endif