kubo / snzip

Snzip, a compression/decompression tool based on snappy
Other
216 stars 30 forks source link

Fix compile issue on Mac OSX #2

Closed gburd closed 13 years ago

gburd commented 13 years ago

Mac OSX doesn't have endian.h, use architecture/byte_order.h instead

kubo commented 13 years ago

Thank you for the patch.

Well, I fixed it by another way. I used AC_C_BIGENDIAN macro, which is more portable.