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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [sys/] [cdefs.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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