We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
std::max
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is one use of std::max that doesn't use the (std::max) trick when the max macro is defined by Windows.
(std::max)
max
cppzmq/zmq.hpp
Line 2756 in 21c83ca
My current workaround is to add #define NOMINMAX to all my files but it would be nice if the library could handle it.
#define NOMINMAX
The text was updated successfully, but these errors were encountered:
Fix std::max compilation error on Windows
a6035ca
Fixes zeromq#654
Successfully merging a pull request may close this issue.
There is one use of
std::max
that doesn't use the(std::max)
trick when themax
macro is defined by Windows.cppzmq/zmq.hpp
Line 2756 in 21c83ca
My current workaround is to add
#define NOMINMAX
to all my files but it would be nice if the library could handle it.The text was updated successfully, but these errors were encountered: