4 #if BYTE_ORDER == LITTLE_ENDIAN
5 #define IS_LITTLE_ENDIAN
6 #elif BYTE_ORDER == BIG_ENDIAN
10 /* all of the platforms that we use _MSC_VER on are little endian
11 * so this is sufficient for now */
13 #define IS_LITTLE_ENDIAN
17 #define IS_LITTLE_ENDIAN
20 #if !defined(IS_LITTLE_ENDIAN) && !defined(IS_BIG_ENDIAN)
21 #error Unknown endianess
24 #if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || defined (_sgi) || defined (__sun) || defined (sun) || defined (__digital__)
25 # include <inttypes.h>
26 #elif defined (_MSC_VER) && _MSC_VER < 1600
27 typedef __int8
int8_t;
28 typedef unsigned __int8
uint8_t;
29 typedef __int16
int16_t;
30 typedef unsigned __int16
uint16_t;
31 typedef __int32
int32_t;
32 typedef unsigned __int32
uint32_t;
33 typedef __int64
int64_t;
34 typedef unsigned __int64
uint64_t;
36 typedef unsigned __int64
uintptr_t;
38 typedef unsigned long uintptr_t;
42 # include <sys/inttypes.h>
47 typedef qcms_bool
bool;