-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
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
Fix build error if defined _WIN32_WINNT #603
Conversation
Can you please show what exactly fails? Perhaps, it is not good testing strategy to define macros that users might not define. |
Are you talking about This macro breaks the code: Lines 5906 to 5908 in 6fad698
I can fix Adding a test for a defined |
|
I think maybe replace #define NOMINMAX to #ifndef NOMINMAX
#define NOMINMAX
#endif in my patch? |
It is not critical user observable code, so if the both approaches work, it is up to you what to choose. |
Added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Fix build error if defined _WIN32_WINNT
Fixes #565, #627, #628
Type of change
Choose one or multiple, leave empty if none of the other choices apply
Add respective label(s) to PR if you have permissions
Tests
Documentation
Breaks backward compatibility
Notify the following users
@anton-potapov
Other information