Skip to content
Snippets Groups Projects
Commit 7daccafa authored by h2-addad's avatar h2-addad
Browse files

Update

parent 8fa749ec
No related branches found
No related tags found
No related merge requests found
#ifndef __LIB_STDDEF_H
#define __LIB_STDDEF_H
#define NULL ((void *) 0)
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER)
/* GCC predefines the types we need for ptrdiff_t and size_t,
so that we don't have to guess. */
typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef __SIZE_TYPE__ size_t;
#endif /* lib/stddef.h */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment