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
d2f87472
Commit
d2f87472
authored
Jul 29, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17596: MINGW: add wincrypt.h in Python/random.c
Based on patch by Roumen Petrov.
parent
6a09315f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
Misc/NEWS
Misc/NEWS
+2
-0
Python/random.c
Python/random.c
+3
-0
No files found.
Misc/NEWS
View file @
d2f87472
...
@@ -10,6 +10,8 @@ What's New in Python 3.6.0 alpha 4
...
@@ -10,6 +10,8 @@ What's New in Python 3.6.0 alpha 4
Core and Builtins
Core and Builtins
-----------------
-----------------
- Issue #17596: Include <wincrypt.h> to help with Min GW building.
- Issue #27507: Add integer overflow check in bytearray.extend(). Patch by
- Issue #27507: Add integer overflow check in bytearray.extend(). Patch by
Xiang Zhang.
Xiang Zhang.
...
...
Python/random.c
View file @
d2f87472
#include "Python.h"
#include "Python.h"
#ifdef MS_WINDOWS
#ifdef MS_WINDOWS
# include <windows.h>
# include <windows.h>
/* All sample MSDN wincrypt programs include the header below. It is at least
* required with Min GW. */
# include <wincrypt.h>
#else
#else
# include <fcntl.h>
# include <fcntl.h>
# ifdef HAVE_SYS_STAT_H
# ifdef HAVE_SYS_STAT_H
...
...
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