Bug 1230759: Part 10 - reapplied patches for bug 789858 draft
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Sat, 11 Nov 2017 00:59:15 -0800
changeset 696867 3f1874ef453fbc1f278b43709283a672197f5f4e
parent 696866 890689de3e76fa44505aa4e942aa761191b3a213
child 696868 eb110b6385a5f6df7a4aeaf8cda4e0047ca7f92b
push id88810
push userdrno@ohlmeier.org
push dateSun, 12 Nov 2017 02:22:41 +0000
bugs1230759, 789858
milestone58.0a1
Bug 1230759: Part 10 - reapplied patches for bug 789858 MozReview-Commit-ID: 1nSK4m79UFW
netwerk/srtp/src/crypto/include/datatypes.h
--- 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 */