Fix build on OpenBSD
|Status:||Closed||Start date:||June 09, 2012|
At the moment audacious fails to build on OpenBSD due to the
byte swap macros audacious has in libaudcore which conflict
with OpenBSD's byte swap macros. The attached patch renames
the macros so they do not conflict.
Rename swapXX inlines not to conflict with OpenBSD's. Also, we want round(), not lrint(). Closes: #123.
#2 Updated by Brad Smith over 4 years ago
John Lindgren wrote:
Does capitalizing them work as well (e.g. SWAP16)?
Yes, that also works.
#3 Updated by John Lindgren over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100