From 44a31724ec8e91c2a2cb2995bcef55780277e8a4 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 29 Apr 2024 23:17:58 -0500 Subject: [PATCH] xo-randomgen: bugfix: test with __APPLE__ instead of __clang__ --- include/xo/randomgen/random_seed.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xo/randomgen/random_seed.hpp b/include/xo/randomgen/random_seed.hpp index d68fc10c..b8d89630 100644 --- a/include/xo/randomgen/random_seed.hpp +++ b/include/xo/randomgen/random_seed.hpp @@ -24,7 +24,7 @@ namespace xo { */ template void random_seed(T * p_seed) { -# ifdef __clang__ +# ifdef __APPLE__ /* NOTE: arc4random_buf() works on darwin/nix; * probably need to do something else on intel linux */