View | Details | Raw Unified | Return to bug 243872 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-src_define.h (+17 lines)
Line 0 Link Here
1
--- src/define.h.orig	2020-02-04 11:13:32 UTC
2
+++ src/define.h
3
@@ -103,10 +103,10 @@ SCCP_LINE unsigned long long __bswap_64(unsigned long 
4
 #define htolel(x) (x)
5
 #define htoles(x) (x)
6
 #else
7
-#define letohs(x) __bswap_16(x)
8
-#define htoles(x) __bswap_16(x)
9
-#define letohl(x) __bswap_32(x)
10
-#define htolel(x) __bswap_32(x)
11
+#define letohs(x) bswap16(x)
12
+#define htoles(x) bswap16(x)
13
+#define letohl(x) bswap32(x)
14
+#define htolel(x) bswap32(x)
15
 #endif
16
 
17
 #define SCCP_TECHTYPE_STR "SCCP"

Return to bug 243872