Back to index

lightning-sunbird  0.9+nobinonly
inttypes.h
Go to the documentation of this file.
00001 /* Written for GUSI by Matthias Neeracher <neeri@iis.ee.ethz.ch> */
00002 
00003 #ifndef _INTTYPES_H_
00004 #define _INTTYPES_H_
00005 
00006 #ifdef __MWERKS__
00007 #include <ansi_parms.h>
00008 #endif
00009 
00010 #if defined(__MSL__) && (__MSL__ >= 0x7001)
00011 #include <stdint.h>
00012 #else
00013 /*
00014  * Regrettably, this is needed for *int64_t
00015  */
00016 #include <MacTypes.h>
00017 
00018 typedef char                       int8_t;
00019 typedef short                      int16_t;
00020 typedef long                       int32_t;
00021 typedef SInt64                            int64_t;
00022 typedef unsigned char              uint8_t;
00023 typedef unsigned short             uint16_t;
00024 typedef unsigned long              uint32_t;
00025 typedef UInt64                            uint64_t;
00026 typedef long                       intptr_t;
00027 typedef unsigned long              uintptr_t;
00028 
00029 #endif /* __MSL__ */
00030 
00031 #endif /* _INTTYPES_H_ */