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] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
/* libc/sys/linux/sys/types.h - The usual type zoo */
2
 
3
/* Written 2000 by Werner Almesberger */
4
 
5
 
6
#ifndef _SYS_TYPES_H
7
#define _SYS_TYPES_H
8
 
9
/* Newlib has it's own time_t and clock_t definitions in
10
 * libc/include/sys/types.h.  Repeat those here and
11
 * skip the kernel's definitions. */
12
 
13
#include <machine/types.h>
14
 
15
#ifndef __time_t_defined
16
#define _TIME_T
17
#define __time_t_defined
18
typedef _TIME_T_ time_t;
19
#endif
20
 
21
#ifndef __clock_t_defined
22
#define _CLOCK_T
23
#define __clock_t_defined
24
typedef _CLOCK_T_ clock_t;
25
#endif
26
 
27
#include <linux/types.h>
28
 
29
#endif

powered by: WebSVN 2.1.0

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