Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cf767ab4
Commit
cf767ab4
authored
Nov 12, 2016
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #28676: merge from 3.6
parents
a8f2f5ab
7d895d3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Misc/NEWS
Misc/NEWS
+3
-0
Python/random.c
Python/random.c
+3
-2
No files found.
Misc/NEWS
View file @
cf767ab4
...
...
@@ -437,6 +437,9 @@ Build
-
Issue
#
15819
:
Remove
redundant
include
search
directory
option
for
building
outside
the
source
tree
.
-
Issue
#
28676
:
Prevent
missing
'getentropy'
declaration
warning
on
macOS
.
Patch
by
Gareth
Rees
.
Tools
/
Demos
-----------
...
...
Python/random.c
View file @
cf767ab4
...
...
@@ -12,9 +12,10 @@
# ifdef HAVE_LINUX_RANDOM_H
# include <linux/random.h>
# endif
# if
def HAVE_GETRANDOM
# if
defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY)
# include <sys/random.h>
# elif defined(HAVE_GETRANDOM_SYSCALL)
# endif
# if !defined(HAVE_GETRANDOM) && defined(HAVE_GETRANDOM_SYSCALL)
# include <sys/syscall.h>
# endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment