It's frustrating, because TLS works fine on vanilla clang or newish gcc on Mac OS x.
FWIW, macOS has arc4random(3) and arc4random_buf(3).
Re:LLVM 6.0.0 Release
by ComputerGuru on Thursday March 08, 2018 @03:02PM
(#16547183)
Thank you. It was supposed to be a platform-agnostic uuid library embracing the benefits of C++11 and beyond. But that was a pipe dream :)
0: https://github.com/neosmart/uuidxx