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

Use _WIN32 to check windows OS #590

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Use _WIN32 to check windows OS #590

merged 1 commit into from
Jan 31, 2023

Conversation

RiccardoGrieco
Copy link
Member

@RiccardoGrieco RiccardoGrieco commented Jan 30, 2023

As per title, this PR is to check if the OS is Windows using the preprocessing flag _WIN32.

Currently, the only file checking for windows is the one addressed by this PR, and it checks the OS using WIN32.
According to many discussions (e.g. here or here) or even on Microsoft's documentation, _WIN32 is the flag that should be used.

Copy link
Member

@GiulioRomualdi GiulioRomualdi left a comment

Choose a reason for hiding this comment

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

Thank you @RiccardoGrieco

@GiulioRomualdi GiulioRomualdi merged commit b045e79 into ami-iit:master Jan 31, 2023
@RiccardoGrieco RiccardoGrieco deleted the update-os-checks branch January 31, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants