Skip to content

Need to undefine "hz" on AIX #13894

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

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

Conversation

mehendarkarprajwal
Copy link
Contributor

Build fails on AIX with message

error: expected unqualified-id before numeric constant 
61053 |     int frame_bytes, channels, hz, layer, bitrate_kbps;

Because 'hz' is defined in one of AIX's header files. We need to undefine it for build to proceed.
Tested the patch on linux also, works perfectly fine!!

Copy link

@ranjitshs ranjitshs left a comment

Choose a reason for hiding this comment

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

Should we put this under _AIX check ?

@ggerganov
Copy link
Member

This change should be submitted to the upstream project: https://github.com/mackron/miniaudio

We will obtain it from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants