freebsd-ports/audio/alsa-lib/files/byteswap.h
John Marino 46b7762a82 audio/alsa-(lib|plugins|utils): Upgrade version 1.0.27.2 => 1.0.28
Also switch maintainership to submitter with blessing of former
maintainer.  Other changes include:

  * fix for bug 191190
  * Use new options syntax
  * Proper detection of PYTHON and FFMPEG
  * fix leftovers
  * strip libraries to satisfy stage-qa
  * conf: alias surround stuff to pcm.default
  * lib: split patches and refactor
  * utils: rename XMLTO to MANPAGES

PR:		191524
Submitted by:	Jan Beich
Approved by:	former maintainer (Aragon Gouveia)
2014-08-09 15:20:35 +00:00

13 lines
281 B
C

#ifndef _BYTESWAP_H
#define _BYTESWAP_H
#ifdef __OpenBSD__
#define bswap_16(x) swap16(x)
#define bswap_32(x) swap32(x)
#define bswap_64(x) swap64(x)
#else
#define bswap_16(x) bswap16(x)
#define bswap_32(x) bswap32(x)
#define bswap_64(x) bswap64(x)
#endif
#endif /* _BYTESWAP_H */