Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 79 → Rev 80

/shark/trunk/drivers/linuxcom/include/linux/stddef.h
1,6 → 1,10
#ifndef _LINUX_STDDEF_H
#define _LINUX_STDDEF_H
 
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
12,4 → 16,6
#undef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
 
__END_DECLS
 
#endif