mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
random.c: fix up r64596
* random.c (fill_random_bytes_syscall): check if the version macro is defined, for very old Mac OS X development tools. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
52a23d56ad
commit
5e4627c282
1 changed files with 1 additions and 1 deletions
2
random.c
2
random.c
|
@ -470,7 +470,7 @@ fill_random_bytes_urandom(void *seed, size_t size)
|
|||
#endif
|
||||
|
||||
#if 0
|
||||
#elif defined __APPLE__ && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
|
||||
#elif defined MAC_OS_X_VERSION_10_7 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
|
||||
#include <Security/Security.h>
|
||||
|
||||
static int
|
||||
|
|
Loading…
Add table
Reference in a new issue