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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [sys/] [linux/] [sys/] [types.h] - Rev 1765

Compare with Previous | Blame | View Log

/* libc/sys/linux/sys/types.h - The usual type zoo */
 
/* Written 2000 by Werner Almesberger */
 
 
#ifndef _SYS_TYPES_H
#define _SYS_TYPES_H
 
/* Newlib has it's own time_t and clock_t definitions in 
 * libc/include/sys/types.h.  Repeat those here and
 * skip the kernel's definitions. */
 
#include <machine/types.h>
 
#ifndef __time_t_defined
#define _TIME_T
#define __time_t_defined
typedef _TIME_T_ time_t;
#endif
 
#ifndef __clock_t_defined
#define _CLOCK_T
#define __clock_t_defined
typedef _CLOCK_T_ clock_t;
#endif
 
#include <linux/types.h>
 
#endif
 

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.