Closed marakew closed 3 weeks ago
Hi,
IMHO, this issue is usually solved by usage of brackets, i.e. by replacing
|| result > (std::numeric_limits<T>::max()))
with
|| result > (std::numeric_limits<T>::max)())
but not with preprocessor directive.
Comparing https://github.com/chriskohlhoff/asio/blob/master/asio/include/asio/impl/config.hpp#L52 with lines:
it looks like the last two require fix (it looks like somebody tried to apply the same fix there, but made a typo).
Thank you.
pls add
undef max
for config.hpp