Skip to content

fix build on non desktop windows app partitions #1084

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

maxbachmann
Copy link

@maxbachmann maxbachmann commented May 6, 2025

This is a patch set I used to build mimalloc on the xbox to get Cpython to build there.

The following functions / types are unavailable:

  • NTSTATUS not available
  • GetConsoleScreenBufferInfo, CONSOLE_SCREEN_BUFFER_INFO and WriteConsoleA unavailable
  • GetNumaNodeProcessorMask unavailable
  • GetLargePageMinimum unavailable

The functions for GetPhysicallyInstalledSystemMemory aren't available either, but they aren't used in the mimalloc version in Cpython 3.13. Since they are dynamically loaded it's quite likely that they won't cause any problems.

I wasn't entirely sure how you would like to have the api family guards defined / used in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant