Bug 1230759: Part 9 - reapplied patches for
bug 789858
MozReview-Commit-ID: 1nSK4m79UFW
--- a/netwerk/srtp/src/crypto/include/datatypes.h
+++ b/netwerk/srtp/src/crypto/include/datatypes.h
@@ -284,16 +284,18 @@ static inline uint32_t be32_to_cpu(uint3
asm("bswap %0" : "=r"(v) : "0"(v));
return v;
}
#else /* HAVE_X86 */
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#elif defined HAVE_WINSOCK2_H
#include <winsock2.h>
+#else
+error "Platform not recognized"
#endif /* HAVE_NETINET_IN_H */
#define be32_to_cpu(x) ntohl((x))
#endif /* HAVE_X86 */
static inline uint64_t be64_to_cpu(uint64_t v)
{
#ifdef NO_64BIT_MATH
/* use the make64 functions to do 64-bit math */