Fix building with MSYS2 (#1902)
Co-authored-by: antores <antores@users.noreply.github.com>
This commit is contained in:
parent
25f874a278
commit
8e4ffa71e2
|
@ -71,7 +71,7 @@ constexpr T htonT(T value) noexcept
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
#if (!defined _WIN32) || (defined _WIN32 && _WIN32_WINNT < _WIN32_WINNT_WIN8)
|
||||
inline uint64_t htonll(uint64_t value)
|
||||
{
|
||||
return htonT<uint64_t>(value);
|
||||
|
|
Loading…
Reference in New Issue