- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33.3k
gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN #131044
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
Conversation
| 
 Please open an issue. I would like to backport this fix to 3.12 and 3.13, having an issue helps tracking backports. | 
| I opened an issue and added the whitespaces for readability | 
| Thanks @maxbachmann for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. | 
…-131044) * Add missing guards for WIN32_LEAN_AND_MEAN * add missing whitespaces (cherry picked from commit de8818a) Co-authored-by: Max Bachmann <[email protected]>
| Sorry, @maxbachmann and @vstinner, I could not cleanly backport this to   | 
| GH-131084 is a backport of this pull request to the 3.13 branch. | 
| GH-131085 is a backport of this pull request to the 3.12 branch. | 
| Merged, thank you. I created backports. | 
…) (#131084) (cherry picked from commit de8818a) Co-authored-by: Max Bachmann <[email protected]>
…31044) * Add missing guards for WIN32_LEAN_AND_MEAN * add missing whitespaces
This adds missing guards for the WIN32_LEAN_AND_MEAN macro. I am working on the xbox where the toolchain already adds this definition. This leads to warnings about the macro getting redefined.
I think this should be trivial enough to require no issue / news entry