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

dahdi-sysfs, xbus-sysfs: Fix RHEL conditional compilation checks. #58

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

Conversation

InterLinked1
Copy link
Contributor

Commit d7bbc8a introduced a regression for non-RHEL distros using kernels older than 6.3.0 by not properly guarding usage of the RHEL macros. Even though the logic short-circuits, undefined macros can still be used this way, so add another #if block to prevent using undefined macros.

Resolves: #51

Commit d7bbc8a introduced
a regression for non-RHEL distros using kernels older than
6.3.0 by not properly guarding usage of the RHEL macros.
Even though the logic short-circuits, undefined macros can
still be used this way, so add another #if block to prevent
using undefined macros.

Resolves: asterisk#51
@DrDeke
Copy link

DrDeke commented Oct 5, 2024

Thanks for the patch; this fixed the issue I was having tonight trying to build this on Debian 12.

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.

Debian 10 (Buster) - dahdi-linux 3.4.0 - Compile - error: missing binary operator before token "("
2 participants