Bug 1230759: Part 9 - reapplied patches for bug 789858 draft
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Sat, 11 Nov 2017 00:59:15 -0800
changeset 697518 0981bd942678e807c0182dcf0780970c93afd82b
parent 697517 9e631a99a0df1285e0efcfa23083606a6a10e257
child 697519 3387a9ae7d40faea9ac8b3ee159936b1b5b1e697
push id89030
push userdrno@ohlmeier.org
push dateTue, 14 Nov 2017 06:38:04 +0000
bugs1230759, 789858
milestone58.0a1
Bug 1230759: Part 9 - 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 */