Ticket #14904: icaltz-util.diff
File icaltz-util.diff, 644 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago) |
---|
-
./calendar/libical/src/libical/icaltz-util.
old new 30 30 #define BYTE_ORDER LITTLE_ENDIAN 31 31 #define bswap_32(val) ((((val) & 0x000000ffU) << 24) | (((val) & 0x0000ff00U) << 8) | (((val) & 0x00ff0000U) >> 8) | (((val) & 0xff000000U) >> 24)) 32 32 #else 33 # include <byteswap.h>34 #include < endian.h>33 #define bswap_32(val) ((((val) & 0x000000ffU) << 24) | (((val) & 0x0000ff00U) << 8) | (((val) & 0x00ff0000U) >> 8) | (((val) & 0xff000000U) >> 24)) 34 #include <machine/endian.h> 35 35 #endif 36 36 #endif 37 37 #include <limits.h>