Subversion Repositories shark

Rev

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

Rev Author Line No. Line
629 giacomo 1
#ifndef _LINUX_STDDEF_H
2
#define _LINUX_STDDEF_H
3
 
1689 fabio 4
#include <arch/sys/cdefs.h>
629 giacomo 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