OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[uclinux-h8/uClibc.git]
/
include
/
features.h
1
2
#ifndef __FEATURES_H
3
#define __FEATURES_H
4
5
#ifdef __STDC__
6
7
#define __P(x) x
8
#define __const const
9
10
/* Almost ansi */
11
#if __STDC__ != 1
12
#define const
13
#define volatile
14
#endif
15
16
#else /* K&R */
17
18
#define __P(x) ()
19
#define __const
20
#define const
21
#define volatile
22
23
#endif
24
25
/* No C++ */
26
#define __BEGIN_DECLS
27
#define __END_DECLS
28
29
/* GNUish things */
30
#define __CONSTVALUE
31
#define __CONSTVALUE2
32
33
#define _POSIX_THREAD_SAFE_FUNCTIONS
34
35
#include <sys/cdefs.h>
36
37
38
#endif
39