shithub: scc

ref: 4a695da3a6e31f002608accb745d4369fe7f0eaa
dir: /libc/include/stddef.h/

View raw version
/* See LICENSE file for copyright and license details. */
#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