mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-12 08:21:09 -04:00
spa/utils: remove FreeBSD workaround for bswap*
Both <endian.h> and <byteswap.h> have the things we need.
This commit is contained in:
parent
a671625637
commit
357f27658e
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
#ifndef SPA_ENDIAN_H
|
#ifndef SPA_ENDIAN_H
|
||||||
#define SPA_ENDIAN_H
|
#define SPA_ENDIAN_H
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__MidnightBSD__)
|
#if defined(__MidnightBSD__)
|
||||||
#include <sys/endian.h>
|
#include <sys/endian.h>
|
||||||
#define bswap_16 bswap16
|
#define bswap_16 bswap16
|
||||||
#define bswap_32 bswap32
|
#define bswap_32 bswap32
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue