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

Undefine major and minor through <sys/sysmacros.h> #1988

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 1, 2024

  1. Undefine major and minor through <sys/sysmacros.h>

    <sys/sysmacros.h> is included through some other headers.
    This results in major(x) being resolved to gnu_dev_major(x)
    which is an expression in a constructor initializer list.
    This patch includes <sys/sysmacros.h> at the very beginning,
    and undefines major and minor to avoid them to be resolved
    to gnu_dev_major(x) or gnu_dev_minor(x).
    gulfemsavrun committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e98a878 View commit details
    Browse the repository at this point in the history