digitalocean / prometheus-client-c

A Prometheus Client in C
Other
158 stars 78 forks source link

Fix MacOS build #71

Open ggarber opened 2 years ago

ggarber commented 2 years ago

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.