RetroZilla/xpinstall/wizard/libxpnet/GUSI/include/inttypes.h

32 lines
644 B
C
Raw Normal View History

2015-10-21 05:03:22 +02:00
/* Written for GUSI by Matthias Neeracher <neeri@iis.ee.ethz.ch> */
#ifndef _INTTYPES_H_
#define _INTTYPES_H_
#ifdef __MWERKS__
#include <ansi_parms.h>
#endif
#if defined(__MSL__) && (__MSL__ >= 0x7001)
#include <stdint.h>
#else
/*
* Regrettably, this is needed for *int64_t
*/
#include <MacTypes.h>
typedef char int8_t;
typedef short int16_t;
typedef long int32_t;
typedef SInt64 int64_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
typedef UInt64 uint64_t;
typedef long intptr_t;
typedef unsigned long uintptr_t;
#endif /* __MSL__ */
#endif /* _INTTYPES_H_ */