scc

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

stddef.h (228B)


      1 #ifndef _STDDEF_H
      2 #define _STDDEF_H
      3 
      4 #define _NEED_SIZET
      5 #define _NEED_PTRDIFFT
      6 #define _NEED_NULL
      7 #define _NEED_WCHART
      8 #include <sys/cdefs.h>
      9 #include <arch/cdefs.h>
     10 
     11 #define offsetof(st, m) ((size_t) &(((st *) 0)->m))
     12 
     13 #endif