mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #17596: MINGW: add wincrypt.h in Python/random.c
Based on patch by Roumen Petrov.
This commit is contained in:
parent
6a09315ff0
commit
d2f87472fe
2 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue