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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [linux/] [stddef.h] - Blame information for rev 1778

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

Line No. Rev Author Line
1 199 simons
#ifndef _LINUX_STDDEF_H
2
#define _LINUX_STDDEF_H
3
 
4
#ifndef _SIZE_T
5
#define _SIZE_T
6
typedef unsigned int size_t;
7
#endif
8
 
9
#undef NULL
10
#define NULL ((void *)0)
11
 
12
#undef offsetof
13
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
14
 
15
#endif

powered by: WebSVN 2.1.0

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