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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [stddef.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#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.