anura-engine / anura

Anura Engine
Other
384 stars 78 forks source link

Musl compatibility #358

Closed AI0867 closed 1 year ago

AI0867 commented 1 year ago

Based on feedback by al1f in discord, hide use of glibc-specific functions behind defined(__GLIBC__) checks.

The stacktrace printing could be reactivated using libexecinfo (making this an optional dependency, or just vendoring it in, it looks like it could benefit from C++ templates), but that's out of scope for this PR.

AI0867 commented 1 year ago

Tested by al1f.