mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
pulse: Fix endianness definition on Sparc.
Patch by Brian Cameron <brian.cameron@oracle.com>.
This commit is contained in:
parent
c3207d4080
commit
e05972ff13
1 changed files with 7 additions and 0 deletions
|
|
@ -112,11 +112,18 @@
|
|||
PA_C_DECL_BEGIN
|
||||
|
||||
#if !defined(WORDS_BIGENDIAN)
|
||||
|
||||
#if defined(__BYTE_ORDER)
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
#define WORDS_BIGENDIAN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* On Sparc, WORDS_BIGENDIAN needs to be set if _BIG_ENDIAN is defined. */
|
||||
#ifdef _BIG_ENDIAN
|
||||
#define WORDS_BIGENDIAN
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/** Maximum number of allowed channels */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue