We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36e8b49 commit 0c09e2cCopy full SHA for 0c09e2c
ssl/os_port.h
@@ -82,6 +82,19 @@ extern "C" {
82
#define hmac_sha1 ax_hmac_sha1
83
#define hmac_md5 ax_hmac_md5
84
85
+#ifndef be64toh
86
+# define __bswap_constant_64(x) \
87
+ ((((x) & 0xff00000000000000ull) >> 56) \
88
+ | (((x) & 0x00ff000000000000ull) >> 40) \
89
+ | (((x) & 0x0000ff0000000000ull) >> 24) \
90
+ | (((x) & 0x000000ff00000000ull) >> 8) \
91
+ | (((x) & 0x00000000ff000000ull) << 8) \
92
+ | (((x) & 0x0000000000ff0000ull) << 24) \
93
+ | (((x) & 0x000000000000ff00ull) << 40) \
94
+ | (((x) & 0x00000000000000ffull) << 56))
95
+#define be64toh(x) __bswap_constant_64(x)
96
+#endif
97
+
98
void ax_wdt_feed();
99
100
#elif defined(WIN32)
0 commit comments