Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58d3e54 + 7ae4112 commit 7d895d3Copy full SHA for 7d895d3
2 files changed
Misc/NEWS
@@ -68,6 +68,12 @@ Tests
68
69
- Issue #23839: Various caches now are cleared before running every test file.
70
71
+Build
72
+-----
73
+
74
+- Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.
75
+ Patch by Gareth Rees.
76
77
78
What's New in Python 3.6.0 beta 3
79
=================================
Python/random.c
@@ -12,9 +12,10 @@
12
# ifdef HAVE_LINUX_RANDOM_H
13
# include <linux/random.h>
14
# endif
15
-# ifdef HAVE_GETRANDOM
+# if defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY)
16
# include <sys/random.h>
17
-# elif defined(HAVE_GETRANDOM_SYSCALL)
+# endif
18
+# if !defined(HAVE_GETRANDOM) && defined(HAVE_GETRANDOM_SYSCALL)
19
# include <sys/syscall.h>
20
21
#endif
0 commit comments