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

[cpprestsdk] fix uwp #33768

Merged
merged 2 commits into from Sep 18, 2023
Merged

[cpprestsdk] fix uwp #33768

merged 2 commits into from Sep 18, 2023

Conversation

autoantwort
Copy link
Contributor

@autoantwort autoantwort commented Sep 14, 2023

Fixes microsoft/cpprestsdk#1318

I had the same problem with microsoft-signalr. currently you have to build with /ZW so that __cplusplus_winrt is defined (https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170), but microsoft-signalr does not use /ZW so is does not detect UWP.

The patch was created by search & replace + check that is does the right thing.

@autoantwort autoantwort marked this pull request as draft September 14, 2023 13:10
@autoantwort autoantwort marked this pull request as ready for review September 14, 2023 16:00
@JonLiu1993 JonLiu1993 added category:port-update The issue is with a library, which is requesting update new revision category:port-bug The issue is with a library, which is something the port should already support and removed category:port-update The issue is with a library, which is requesting update new revision labels Sep 15, 2023
@JonLiu1993 JonLiu1993 added the info:reviewed Pull Request changes follow basic guidelines label Sep 15, 2023
@vicroms vicroms merged commit 7120896 into microsoft:master Sep 18, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fundatmental issue - __cplusplus_winrt != UWP
3 participants