Skip to content

Commit cfd7ad4

Browse files
committed
Reverse word order for MSVC
1 parent ae7fa5e commit cfd7ad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/int128/detail/int128_imp.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ constexpr bool operator==(const int128_t lhs, const int128_t rhs) noexcept
221221
{
222222
// x64 and ARM64 like the values in opposite directions
223223

224-
#if defined(__aarch64__) || defined(_M_ARM64) || defined(__x86_64__)
224+
#if defined(__aarch64__) || defined(_M_ARM64) || defined(__x86_64__) || defined(_M_X64) || defined(_M_IX86)
225225

226226
return lhs.low == rhs.low && lhs.high == rhs.high;
227227

@@ -294,7 +294,7 @@ constexpr bool operator!=(const int128_t lhs, const int128_t rhs) noexcept
294294
{
295295
// x64 and ARM64 like the values in opposite directions
296296

297-
#if defined(__aarch64__) || defined(_M_ARM64)
297+
#if defined(__aarch64__) || defined(_M_ARM64) || defined(_M_X64) || defined(_M_IX86)
298298

299299
return lhs.low != rhs.low || lhs.high != rhs.high;
300300

0 commit comments

Comments
 (0)