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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [sys/] [cdefs.h] - Rev 199

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

 
#ifndef __SYS_CDEFS_H
#define __SYS_CDEFS_H
#include <features.h>
 
#if defined (__STDC__) && __STDC__
 
#define	__CONCAT(x,y)	x ## y
#define	__STRING(x)	#x
 
/* This is not a typedef so `const __ptr_t' does the right thing.  */
#define __ptr_t void *
typedef long double __long_double_t;
 
#else
 
#define	__CONCAT(x,y)	x/**/y
#define	__STRING(x)	"x"
 
#define __ptr_t char *
 
#ifndef __HAS_NO_FLOATS__
typedef double __long_double_t;
#endif
 
#endif
 
/* No C++ */
#define __BEGIN_DECLS
#define __END_DECLS
 
/* GNUish things */
#define __CONSTVALUE
#define __CONSTVALUE2
 
#endif
 

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

powered by: WebSVN 2.1.0

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