Skip to content

Fix building CPython with -DWIN32_LEAN_AND_MEAN on Windows #115882

Closed
@georgthegreat

Description

@georgthegreat

Feature or enhancement

Proposal:

We use customized build of CPython which compiles all the sources with -WIN32_LEAN_AND_MEAN, thus limiting the amount of transitive #include from Windows.h header.

I would like to propose a series of enhancements to make CPython buildable in this configuration.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions