add directory Linux-0.98
This commit is contained in:
15
Linux-0.98/Yggdrasil-0.98.3/usr/include/linux/stddef.h
Normal file
15
Linux-0.98/Yggdrasil-0.98.3/usr/include/linux/stddef.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _LINUX_STDDEF_H
|
||||
#define _LINUX_STDDEF_H
|
||||
|
||||
#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)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user