aboutsummaryrefslogtreecommitdiff
path: root/include/stddef.h
blob: 570512ba79fdc3af6f5062bd41e94db9417437c3 (plain)
1
2
3
4
5
6
#ifndef __STDDEF_H__
#define __STDDEF_H__

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

#endif