diff --git a/GUSI/include/inttypes.h b/GUSI/include/inttypes.h index 1d6fa3f..03e25fd 100755 --- a/GUSI/include/inttypes.h +++ b/GUSI/include/inttypes.h @@ -3,13 +3,16 @@ #ifndef _INTTYPES_H_ #define _INTTYPES_H_ +#ifdef __MWERKS__ +/* CodeWarrior had this header since at least Pro 5, but I only noticed this now. */ +#include +#else /* * Regrettably, this is needed for *int64_t */ #include #include -#if __MSL__ < 0x7001 #if __MSL__ < 0x6000 typedef char int8_t; #else @@ -24,8 +27,6 @@ typedef unsigned long uint32_t; typedef UInt64 uint64_t; typedef long intptr_t; typedef unsigned long uintptr_t; -#else -#include #endif #endif /* _INTTYPES_H_ */