mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-29 03:32:42 +00:00
Add condition to include friend function in win32
This commit is contained in:
parent
e418179694
commit
1f38ebbdb1
@ -369,6 +369,10 @@ class uint128_fallback {
|
|||||||
private:
|
private:
|
||||||
uint64_t lo_, hi_;
|
uint64_t lo_, hi_;
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
friend uint128_fallback umul128(uint64_t x, uint64_t y) noexcept;
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
constexpr uint128_fallback(uint64_t hi, uint64_t lo) : lo_(lo), hi_(hi) {}
|
constexpr uint128_fallback(uint64_t hi, uint64_t lo) : lo_(lo), hi_(hi) {}
|
||||||
constexpr uint128_fallback(uint64_t value = 0) : lo_(value), hi_(0) {}
|
constexpr uint128_fallback(uint64_t value = 0) : lo_(value), hi_(0) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user