Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only enable linux stacktraces when using glibc (#69)
This is a follow-up to previous attempt #90 Stacktraces use glibc-specific extension execinfo.h, so currently loguru compilation will fail with other C libraries like musl with an error like: loguru/loguru.cpp:103:18: fatal error: execinfo.h: No such file or directory 103 | #include <execinfo.h> // for backtrace This change adds a check on __GLIBC__ before enabling backtraces, and simplifies the logic around it a bit: first checking Windows, then glibc, then other systems
- Loading branch information