Subversion Repositories shark

Rev

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

#ifndef _LINUX_STDDEF_H
#define _LINUX_STDDEF_H

#include <arch/sys/cdefs.h>

__BEGIN_DECLS

#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
#endif

#undef NULL
#define NULL ((void *)0)

#undef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)

__END_DECLS

#endif