ruby-changes:65492
From: Nobuyoshi <ko1@a...>
Date: Fri, 19 Mar 2021 18:57:18 +0900 (JST)
Subject: [ruby-changes:65492] 9e71f1aa4c (master): Include CommonCrypto/CommonCryptoError.h for old Xcode
https://git.ruby-lang.org/ruby.git/commit/?id=9e71f1aa4c From 9e71f1aa4cea42c895a2857c0f9c252865468d53 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 19 Mar 2021 18:56:41 +0900 Subject: Include CommonCrypto/CommonCryptoError.h for old Xcode --- random.c | 1 + 1 file changed, 1 insertion(+) diff --git a/random.c b/random.c index 0fc8789..eec017c 100644 --- a/random.c +++ b/random.c @@ -497,6 +497,7 @@ fill_random_bytes_urandom(void *seed, size_t size) https://github.com/ruby/ruby/blob/trunk/random.c#L497 #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 +# include <CommonCrypto/CommonCryptoError.h> /* for old Xcode */ # include <CommonCrypto/CommonRandom.h> # define USE_COMMON_RANDOM 1 # else -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/