• Barrett's avatar
    Allow compiler to select an strerror_r stringify · 84a4f56e
    Barrett authored
    On Alpine (and potentially other systems) that don't identify their runtime correctly there is an issue with the string conversion
    Specifically, alpine linux and musl where the errno_to_string is incorrectly called.
    To fix this I have added two overloaded functions and use auto err to allow the compiler to detect the actual types returned and call the correct method for conversion
    84a4f56e
Name
Last commit
Last update
bench Loading commit data...
cmake Loading commit data...
example Loading commit data...
include/spdlog Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
astyle.sh Loading commit data...