Mercurial > libpst
diff src/libpst.h @ 128:7f747c8c9d02
cleanup installed headers
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 05 Feb 2009 09:22:22 -0800 |
parents | 23a36ac0514d |
children | e35fd42bac05 |
line wrap: on
line diff
--- a/src/libpst.h Thu Feb 05 09:20:02 2009 -0800 +++ b/src/libpst.h Thu Feb 05 09:22:22 2009 -0800 @@ -11,33 +11,6 @@ #define LIBPST_H -#if BYTE_ORDER == BIG_ENDIAN -# define LE64_CPU(x) \ - x = ((((x) & UINT64_C(0xff00000000000000)) >> 56) | \ - (((x) & UINT64_C(0x00ff000000000000)) >> 40) | \ - (((x) & UINT64_C(0x0000ff0000000000)) >> 24) | \ - (((x) & UINT64_C(0x000000ff00000000)) >> 8 ) | \ - (((x) & UINT64_C(0x00000000ff000000)) << 8 ) | \ - (((x) & UINT64_C(0x0000000000ff0000)) << 24) | \ - (((x) & UINT64_C(0x000000000000ff00)) << 40) | \ - (((x) & UINT64_C(0x00000000000000ff)) << 56)); -# define LE32_CPU(x) \ - x = ((((x) & 0xff000000) >> 24) | \ - (((x) & 0x00ff0000) >> 8 ) | \ - (((x) & 0x0000ff00) << 8 ) | \ - (((x) & 0x000000ff) << 24)); -# define LE16_CPU(x) \ - x = ((((x) & 0xff00) >> 8) | \ - (((x) & 0x00ff) << 8)); -#elif BYTE_ORDER == LITTLE_ENDIAN -# define LE64_CPU(x) {} -# define LE32_CPU(x) {} -# define LE16_CPU(x) {} -#else -# error "Byte order not supported by this library" -#endif // BYTE_ORDER - - #define PST_TYPE_NOTE 1 #define PST_TYPE_APPOINTMENT 8 #define PST_TYPE_CONTACT 9