summaryrefslogblamecommitdiff
path: root/net/asterisk-chan_sccp/files/patch-src_define.h
blob: 5b2d175fb693733380672a088aa97728a7d88dfb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
                                               
                












                                                                          

       
--- src/define.h.orig	2020-10-24 14:42:40 UTC
+++ src/define.h
@@ -98,10 +98,10 @@ SCCP_LINE unsigned long long ___bswap_64(unsigned long
 #    define htolel(x) (uint16_t)(x)
 #    define htoles(x) (uint16_t)(x)
 #  else
-#    define letohs(x) ___bswap_16(x)
-#    define htoles(x) ___bswap_16(x)
-#    define letohl(x) ___bswap_32(x)
-#    define htolel(x) ___bswap_32(x)
+#    define letohs(x) bswap16(x)
+#    define htoles(x) bswap16(x)
+#    define letohl(x) bswap32(x)
+#    define htolel(x) bswap32(x)
 #  endif
 #endif