tukaani-project / xz

XZ Utils
https://tukaani.org/xz/
Other
561 stars 104 forks source link

tuklib_integer: Fix byteswap macros for OpenBSD #126

Closed brad0 closed 4 months ago

brad0 commented 4 months ago

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

This fixes building with GCC 4.2.