提交 424df190 authored 作者: Michael Jerris's avatar Michael Jerris

FS-6695: fix build on mips

上级 7c0da5cc
...@@ -101,6 +101,18 @@ ...@@ -101,6 +101,18 @@
*/ */
#define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN #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 /* Automatic byte order detection */
#endif #endif
......
...@@ -76,6 +76,10 @@ ...@@ -76,6 +76,10 @@
//#define WEBRTC_ARCH_ARMEL //#define WEBRTC_ARCH_ARMEL
#define WEBRTC_ARCH_32_BITS #define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN #define WEBRTC_ARCH_LITTLE_ENDIAN
#elif defined(__MIPSEB__)
#define WEBRTC_ARCH_BIG_ENDIAN
#elif defined(__MIPSEL__)
#define WEBRTC_ARCH_LITTLE_ENDIAN
#else #else
#error Please add support for your architecture in typedefs.h #error Please add support for your architecture in typedefs.h
#endif #endif
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论