voron

experimental ARM OS
git clone git://git.2f30.org/voron
Log | Files | Refs | README | LICENSE

stddef.h (222B)


      1 #ifndef __STDDEF_H
      2 #define __STDDEF_H
      3 
      4 #include <inttypes.h>
      5 
      6 #define NULL	((void*)0)
      7 
      8 typedef enum {
      9 	false = 0,
     10 	true = 1
     11 } bool;
     12 
     13 #define offsetof(type, member) ((uintptr_t)&((type*)0)->member)
     14 
     15 #endif	/* __STDDEF_H */