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 MacOS build #71

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

Fix MacOS build #71

wants to merge 1 commit into from

Conversation

ggarber
Copy link

@ggarber ggarber commented Jul 28, 2022

Fix build issues when compiling in MacOS.

1/ atomic_compare_exchange_weak expects a double* and not an Atomic double*.

2/ The microhttpd handler return value is MHD_Result instead of int.

I didn't test it in other systems, I hope some CI in the PRs test this still builds in different Linux flavours.

@ggarber ggarber requested a review from a team as a code owner July 28, 2022 22:45
K1ll-9 pushed a commit to K1ll-9/prometheus-client-c that referenced this pull request Jul 8, 2023
@K1ll-9 K1ll-9 mentioned this pull request Jul 8, 2023
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.

1 participant