shithub: scc

ref: 54374eb1baef2600d9fd2aabd08f71a16d50a392
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