diff --git a/orm_lib/inc/drogon/orm/SqlBinder.h b/orm_lib/inc/drogon/orm/SqlBinder.h index 812339b0..3335e6ff 100644 --- a/orm_lib/inc/drogon/orm/SqlBinder.h +++ b/orm_lib/inc/drogon/orm/SqlBinder.h @@ -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(value);