Fix building with MSYS2 (#1902)

Co-authored-by: antores <antores@users.noreply.github.com>
This commit is contained in:
antores 2024-01-15 05:14:05 +03:00 committed by GitHub
parent 25f874a278
commit 8e4ffa71e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);