shithub: scc

ref: b709b8fa6bd37944b2e0a53bef8df2fca5e9519e
dir: /include/stddef.h/

View raw version
#ifndef _STDDEF_H
#define _STDDEF_H

#include <arch/stddef.h>

#ifndef NULL
#define NULL ((void *) 0)
#endif

#define offsetof(st, m) ((size_t)&(((st *)0)->m))

#endif