don't crash if TLS library is loaded into process with no thread pointer
[musl] / include / crypt.h
2012-06-29 Rich Felkerreplace old and ugly crypt implementation