mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-28 06:36:02 +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:
|
||||
uint64_t lo_, hi_;
|
||||
|
||||
#ifdef _WIN32
|
||||
friend uint128_fallback umul128(uint64_t x, uint64_t y) noexcept;
|
||||
#endif
|
||||
|
||||
public:
|
||||
constexpr uint128_fallback(uint64_t hi, uint64_t lo) : lo_(lo), hi_(hi) {}
|
||||
constexpr uint128_fallback(uint64_t value = 0) : lo_(value), hi_(0) {}
|
||||
|
Loading…
Reference in New Issue
Block a user