[alsa-devel] byteswap.h

Thomas Klausner tk at giga.or.at
Thu Mar 3 11:10:05 CET 2016


On Thu, Mar 03, 2016 at 11:01:23AM +0100, Takashi Iwai wrote:
> Applied now.  Thanks.

Thank you!

Next big issue: Many places include byteswap.h to get bswap_16,
bswap_32, bswap_64.

This header does not exist on *BSD or Solaris.

However, all of these provide similar macros under different names,
from different header files (bswap16 etc, or BSWAP_16).

Do you want a compat header, e.g. include/bswap.h that takes care of
this and is included by local.h, or do you prefer a different
solution?
 Thomas


More information about the Alsa-devel mailing list