xo-randomgen: bugfix: test with __APPLE__ instead of __clang__

This commit is contained in:
Roland Conybeare 2024-04-29 23:17:58 -05:00
commit 44a31724ec

View file

@ -24,7 +24,7 @@ namespace xo {
*/ */
template<typename T> template<typename T>
void random_seed(T * p_seed) { void random_seed(T * p_seed) {
# ifdef __clang__ # ifdef __APPLE__
/* NOTE: arc4random_buf() works on darwin/nix; /* NOTE: arc4random_buf() works on darwin/nix;
* probably need to do something else on intel linux * probably need to do something else on intel linux
*/ */