mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix -Wundef warnings for patterns #if HAVE
* See [Feature #17752] * Using this to detect them: git grep -P 'if\s+HAVE' | grep -Pv 'HAVE_LONG_LONG|/ChangeLog|HAVE_TYPEOF'
This commit is contained in:
parent
fa7a712d46
commit
0764d323d8
Notes:
git
2021-05-04 21:57:20 +09:00
9 changed files with 14 additions and 14 deletions
2
random.c
2
random.c
|
@ -428,7 +428,7 @@ random_init(int argc, VALUE *argv, VALUE obj)
|
|||
# define USE_DEV_URANDOM 0
|
||||
#endif
|
||||
|
||||
#if HAVE_GETENTROPY
|
||||
#ifdef HAVE_GETENTROPY
|
||||
# define MAX_SEED_LEN_PER_READ 256
|
||||
static int
|
||||
fill_random_bytes_urandom(void *seed, size_t size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue