Files
linux-apfs/include/linux/stddef.h
T

22 lines
342 B
C
Raw Normal View History

2005-04-16 15:20:36 -07:00
#ifndef _LINUX_STDDEF_H
#define _LINUX_STDDEF_H
2012-10-13 10:46:48 +01:00
#include <uapi/linux/stddef.h>
2005-04-16 15:20:36 -07:00
2006-09-30 23:27:11 -07:00
#undef NULL
#define NULL ((void *)0)
2006-09-30 23:27:11 -07:00
enum {
false = 0,
true = 1
};
2005-04-16 15:20:36 -07:00
#undef offsetof
#ifdef __compiler_offsetof
#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
#else
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
#endif