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

Subversion Repositories or1k

[/] [or1k/] [tags/] [LINUX_2_4_26_OR32/] [linux/] [linux-2.4/] [include/] [linux/] [stddef.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _LINUX_STDDEF_H
2
#define _LINUX_STDDEF_H
3
 
4
#undef NULL
5
#if defined(__cplusplus)
6
#define NULL 0
7
#else
8
#define NULL ((void *)0)
9
#endif
10
 
11
#undef offsetof
12
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
13
 
14
#endif

powered by: WebSVN 2.1.0

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