scc

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

cdefs.h (431B)


      1 #ifdef _NEED_SIZET
      2 #ifndef _SIZET
      3 typedef unsigned short size_t;
      4 #define _SIZET
      5 #endif
      6 #undef _NEED_SIZET
      7 #endif
      8 
      9 #ifdef _NEED_PTRDIFFT
     10 #ifndef _PTRDIFFT
     11 typedef short ptrdiff_t;
     12 #define _PTRDIFFT
     13 #endif
     14 #undef _NEED_PTRDIFFT
     15 #endif
     16 
     17 #ifdef _NEED_NULL
     18 #ifndef NULL
     19 #define NULL ((void *) 0)
     20 #endif
     21 #undef _NEED_NULL
     22 #endif
     23 
     24 #ifdef _NEED_WCHART
     25 #ifndef _WCHART
     26 typedef int wchar_t;
     27 #define _WCHART
     28 #endif
     29 #undef _NEED_WCHART
     30 #endif