matter.c

Cross-platform minimalist libc
git clone git://git.finwo.net/lib/matter.c
Log | Files | Refs | README | LICENSE

alltypes.h (281B)


      1 #ifndef _BITS_ALLTYPES_H_
      2 #define _BITS_ALLTYPES_H_
      3 
      4 #include <stdint.h>
      5 
      6 #ifdef __cplusplus
      7 extern "C" {
      8 #endif
      9 
     10 #if __WORDSIZE == 32
     11 #define _Addr int
     12 #endif
     13 
     14 #if __WORDSIZE == 64
     15 #define _Addr long
     16 #endif
     17 
     18 #ifdef __cplusplus
     19 } // extern "C"
     20 #endif
     21 
     22 #endif // _BITS_ALLTYPES_H_
     23