prometheus-client-c icon indicating copy to clipboard operation
prometheus-client-c copied to clipboard

Fix MacOS build

Open ggarber opened this issue 3 years ago • 0 comments

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 avatar Jul 28 '22 22:07 ggarber