mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Include CommonCrypto/CommonCryptoError.h for old Xcode
This commit is contained in:
parent
dc7044eb48
commit
9e71f1aa4c
1 changed files with 1 additions and 0 deletions
1
random.c
1
random.c
|
@ -497,6 +497,7 @@ fill_random_bytes_urandom(void *seed, size_t size)
|
||||||
#elif defined MAC_OS_X_VERSION_10_7 && 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
|
||||||
|
|
||||||
# if defined MAC_OS_X_VERSION_10_10 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
|
# if defined MAC_OS_X_VERSION_10_10 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
|
||||||
|
# include <CommonCrypto/CommonCryptoError.h> /* for old Xcode */
|
||||||
# include <CommonCrypto/CommonRandom.h>
|
# include <CommonCrypto/CommonRandom.h>
|
||||||
# define USE_COMMON_RANDOM 1
|
# define USE_COMMON_RANDOM 1
|
||||||
# else
|
# else
|
||||||
|
|
Loading…
Add table
Reference in a new issue