scc

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

stddef.h (207B)


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