5 typedef unsigned char uchar
;
8 //typedef unsigned short ushort;
10 #if defined(OS_CYGWIN32) || defined(OS_HPUX) || defined(OS_FREEBSD)
11 typedef unsigned long ulong
;
14 typedef unsigned long long ullong
;
23 #if defined(CS_EMBEDDED) || defined(OS_LINUX)
38 #if __BYTE_ORDER == __BIG_ENDIAN
44 # if __BYTE_ORDER == __LITTLE_ENDIAN
45 # define ntohl(x) __bswap_32 (x)
46 # define ntohs(x) __bswap_16 (x)
47 # define htonl(x) __bswap_32 (x)
48 # define htons(x) __bswap_16 (x)
52 #endif // CS_EMBEDDED || OS_LINUX