prometheus-client-c
prometheus-client-c copied to clipboard
Fix MacOS build
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.