xo-randomgen: bugfix: test with __APPLE__ instead of __clang__
This commit is contained in:
parent
45cc28b4f8
commit
44a31724ec
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ namespace xo {
|
|||
*/
|
||||
template<typename T>
|
||||
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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue