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

Enable msvc tool in cross-compiled windows builds of ninja #2106

Closed
wants to merge 1 commit into from

Conversation

sztomi
Copy link

@sztomi sztomi commented Mar 17, 2022

Cross-compiled windows builds of ninja are unable to use -t msvc because it is ifdefed to _MSC_VER instead of _WIN32, even though a non-msvc built ninja is perfectly capable of containing and running that code. This is mentioned in #2082. This PR replaces those defines, so that cross-compiled windows executables will not lack this functionality.

@jhasse
Copy link
Collaborator

jhasse commented Mar 17, 2022

See #2087.

@sztomi
Copy link
Author

sztomi commented Mar 18, 2022

alright, thanks

@sztomi sztomi closed this Mar 18, 2022
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.

2 participants