OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [features.h] - Blame information for rev 199

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
 
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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.