emilk / loguru

A lightweight C++ logging library
The Unlicense
1.76k stars 256 forks source link

Fix failing compilation on OpenBSD #223

Open lrw04 opened 2 years ago

lrw04 commented 2 years ago

pthread on OpenBSD is different from that on Linux, preventing compilation. The commit adds preprocessor statements to use an alternative implementation specifically on OpenBSD.

seanm commented 10 months ago

I've improved and expanded on this with: https://github.com/emilk/loguru/pull/245

@lrw04 care to review?

lrw04 commented 10 months ago

I've improved and expanded on this with: https://github.com/emilk/loguru/pull/245

@lrw04 care to review?

I have long forgotten the specifics of pthread on OpenBSD and others, so I'm afraid I am not the best person to review.