| |
 |
libDwm-0.9.45
|
 |
Go to the documentation of this file.
42#define HAVE_CFBYTE_ORDER_H 1
49#ifdef HAVE_CFBYTE_ORDER_H
51 #include <CoreFoundation/CFByteOrder.h>
53 #define be64toh(x) OSSwapBigToHostInt64((x))
56 #define htobe64(x) OSSwapHostToBigInt64((x))
59 #define be32toh(x) OSSwapBigToHostInt32(x)
62 #define htobe32(x) OSSwapHostToBigInt32(x)
65 #define be16toh(x) OSSwapBigToHostInt16(x)
68 #define htobe16(x) OSSwapHostToBigInt16(x)
71 #ifdef HAVE_BYTESWAP_H
81 #if __BYTE_ORDER == __LITTLE_ENDIAN
82 #define be64toh(x) bswap_64((x))
84 #define be64toh(x) (x)
88 #if __BYTE_ORDER == __LITTLE_ENDIAN
89 #define htobe64(x) bswap_64((x))
91 #define htobe64(x) (x)
97 #if defined(__OpenBSD__)
98 #define be64toh(x) betoh64((x))
112#define HAVE_GPLUSPLUS_VERSION(MAJOR, MINOR) \
113 (__GNUC__ > (MAJOR) || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ >= (MINOR)))
117#define DWM_HAVE_STD_FORMAT 1