FS-6695: fix build on mips
This commit is contained in:
parent
7c0da5cc40
commit
424df19083
|
@ -101,6 +101,18 @@
|
|||
*/
|
||||
#define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN
|
||||
|
||||
#elif defined(__MIPSEB__)
|
||||
/*
|
||||
* mips, big endian
|
||||
*/
|
||||
#define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN
|
||||
|
||||
#elif defined(__MIPSEL__)
|
||||
/*
|
||||
* mips, little endian
|
||||
*/
|
||||
#define ZRTP_BYTE_ORDER ZBO_LITTLE_ENDIAN
|
||||
|
||||
#endif /* Automatic byte order detection */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -76,6 +76,10 @@
|
|||
//#define WEBRTC_ARCH_ARMEL
|
||||
#define WEBRTC_ARCH_32_BITS
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
#elif defined(__MIPSEB__)
|
||||
#define WEBRTC_ARCH_BIG_ENDIAN
|
||||
#elif defined(__MIPSEL__)
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
#else
|
||||
#error Please add support for your architecture in typedefs.h
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue