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

Better predefined macros for platform detection #92

Merged
merged 2 commits into from
Sep 1, 2022

Commits on Sep 1, 2022

  1. Use __linux__, not only __linux, to detect Linux

    According to https://sourceforge.net/p/predef/wiki/OperatingSystems/,
    this is the macro specified by POSIX.
    
    This change actually fixes failure to compile on the ppc64le version of
    Red Hat Enterprise Linux 8. The fact that this is architecture-dependent
    is probably a bug in that distribution.
    musicinmybrain committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    f36cca5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    346a27f View commit details
    Browse the repository at this point in the history