Skip to content
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(uwp): Gate NTSTATUS definition behind WINAPI_PARTITION_DESKTOP for UWP build #3897

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

bafadumi
Copy link

@bafadumi bafadumi commented Nov 8, 2024

UWP build showed that this API wasn’t gated and is not supported by UWP. This error was discovered when porting WAMR2.2.0

Error : unknown type name 'NTSTATUS'; did you mean 'LSTATUS'?

Copy link
Collaborator

@lum1n0us lum1n0us left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@loganek
Copy link
Collaborator

loganek commented Nov 12, 2024

I see the usage of this code was already gated in

#if WINAPI_PARTITION_DESKTOP && WASM_ENABLE_WAMR_COMPILER == 0
so I think it's a valid change.

@loganek loganek merged commit 58f242f into bytecodealliance:main Nov 12, 2024
382 of 383 checks passed
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.

4 participants