mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
topology: Quit and show error message on big-endian machines
This tool can only support little-endian machines atm. Many codes directly refer to __le32/__le64 variables of ABI objects, so will be broken on big-endian machines. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
cde9a37c06
commit
b917a0c0a8
2 changed files with 17 additions and 0 deletions
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <endian.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include "local.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue