mirror of https://github.com/mpv-player/mpv
osdep/endian: add missing byte order defines
This commit is contained in:
parent
8657b20574
commit
8e4dcb15ce
|
@ -9,6 +9,10 @@
|
||||||
#define BYTE_ORDER __BYTE_ORDER
|
#define BYTE_ORDER __BYTE_ORDER
|
||||||
#define LITTLE_ENDIAN __LITTLE_ENDIAN
|
#define LITTLE_ENDIAN __LITTLE_ENDIAN
|
||||||
#define BIG_ENDIAN __BIG_ENDIAN
|
#define BIG_ENDIAN __BIG_ENDIAN
|
||||||
|
#elif defined(__BYTE_ORDER__)
|
||||||
|
#define BYTE_ORDER __BYTE_ORDER__
|
||||||
|
#define LITTLE_ENDIAN __ORDER_LITTLE_ENDIAN__
|
||||||
|
#define BIG_ENDIAN __ORDER_BIG_ENDIAN__
|
||||||
#elif defined(__DARWIN_BYTE_ORDER)
|
#elif defined(__DARWIN_BYTE_ORDER)
|
||||||
#define BYTE_ORDER __DARWIN_BYTE_ORDER
|
#define BYTE_ORDER __DARWIN_BYTE_ORDER
|
||||||
#define LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN
|
#define LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN
|
||||||
|
|
Loading…
Reference in New Issue