Subversion Repositories shark

Rev

Rev 80 | 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
 
80 pj 4
#include "ll/sys/cdefs.h"
5
 
6
__BEGIN_DECLS
7
 
2 pj 8
#ifndef _SIZE_T
9
#define _SIZE_T
10
typedef unsigned int size_t;
11
#endif
12
 
13
#undef NULL
14
#define NULL ((void *)0)
15
 
16
#undef offsetof
17
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
18
 
80 pj 19
__END_DECLS
20
 
2 pj 21
#endif