scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

stddef.h (168B)


      1 #ifndef _STDDEF_H
      2 #define _STDDEF_H
      3 
      4 #include <arch/stddef.h>
      5 
      6 #ifndef NULL
      7 #define NULL ((void *) 0)
      8 #endif
      9 
     10 #define offsetof(st, m) ((size_t)&(((st *)0)->m))
     11 
     12 #endif