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 & make linux conditionals uniform #4278

Merged
merged 1 commit into from
Jul 4, 2016

Conversation

Rogier-5
Copy link
Contributor

@Rogier-5 Rogier-5 commented Jul 4, 2016

The source used a hodge-podge of different combinations of different
macros to check for linux: linux, __linux, __linux__.

As __linux__ is standard (Posix), and the others are not, the source
now uniformly uses __linux__. If either linux or __linux are defined,
it is made sure that __linux__ is defined as well.

The source used a hodge-podge of different combinations of different
macros to check for linux: 'linux', '__linux', '__linux__'.

As '__linux__' is standard (Posix), and the others are not, the source
now uniformly uses __linux__. If either linux or __linux are defined,
it is made sure that __linux__ is defined as well.
@sfan5
Copy link
Member

sfan5 commented Jul 4, 2016

👍

@sfan5 sfan5 added Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines Linux labels Jul 4, 2016
@est31
Copy link
Contributor

est31 commented Jul 4, 2016

👍

@est31 est31 merged commit 1dfd977 into minetest:master Jul 4, 2016
@Rogier-5 Rogier-5 deleted the linux-conditionals branch July 4, 2016 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines >= Two approvals ✅ ✅
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants