mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (#131044)
(cherry picked from commit de8818ae23
)
Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
This commit is contained in:
parent
bfad0b56d9
commit
3f226c5a7f
3 changed files with 9 additions and 5 deletions
|
@ -39,8 +39,10 @@ Data members:
|
|||
#include <locale.h>
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
# ifndef WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# endif
|
||||
# include <windows.h>
|
||||
#endif /* MS_WINDOWS */
|
||||
|
||||
#ifdef MS_COREDLL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue