Subversion Repositories shark

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
629 giacomo 1
#ifndef _LINUX_STDDEF_H
2
#define _LINUX_STDDEF_H
3
 
4
#include "ll/sys/cdefs.h"
5
 
6
__BEGIN_DECLS
7
 
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
 
19
__END_DECLS
20
 
21
#endif