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

more robust macro to check for windows #352

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

drbergman
Copy link
Collaborator

When creating output directories, currently use __MINGW32__ and __MINGW64__ to check if compiling on Windows, but this only checks if using particular windows compilers. they are the ones we tell users to use, but switching to _W32 will be more robust.

@rheiland
Copy link
Collaborator

I agree. And I tested your PR on Windows - it works.

@MathCancer MathCancer merged commit d73c253 into MathCancer:master Jan 20, 2025
96 of 104 checks passed
@drbergman drbergman deleted the better-windows-macros branch January 21, 2025 00:21
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.

3 participants