Subversion Repositories shark

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
#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