mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
meson.build: define WORDS_BIGENDIAN if need be
Drop the Apple-specific defines from config.h.meson - this was never true in the meson build anyway as nothing set the AC_APPLE_UNIVERSAL_BUILD and the else condition only undef'd WORDS_BIGENDIAN if... it was not defined. Drop this and replace it with a meson endian check. There is only one source file that checks for this #define in spa/plugins/alsa/acp/compat.h, let's hope nothing breaks here.
This commit is contained in:
parent
14eb43ea86
commit
478e1cc516
2 changed files with 4 additions and 12 deletions
|
|
@ -206,6 +206,9 @@ cdata.set('MEMORY_ALIGNMENT_MALLOC', 1)
|
|||
cdata.set_quoted('PA_ALSA_PATHS_DIR', alsadatadir / 'paths')
|
||||
cdata.set_quoted('PA_ALSA_PROFILE_SETS_DIR', alsadatadir / 'profile-sets')
|
||||
|
||||
if host_machine.endian() == 'big'
|
||||
cdata.set('WORDS_BIGENDIAN', 1)
|
||||
endif
|
||||
|
||||
check_headers = [['dlfcn.h','HAVE_DLFCN_H'],
|
||||
['inttypes.h', 'HAVE_INTTYPES_H'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue