tukaani-project / xz

XZ Utils
https://tukaani.org/xz/
Other
622 stars 113 forks source link

tuklib_integer: Fix byteswap macros for OpenBSD #126

Closed brad0 closed 5 months ago

brad0 commented 5 months ago

OpenBSD uses swap() instead of bswap() like the other BSD's.

This fixes building with GCC 4.2.