shithub: scc

ref: d000fb37494007384c0cbe081ebd5bc488787bf1
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