Commit d2f87472 authored by Martin Panter's avatar Martin Panter

Issue #17596: MINGW: add wincrypt.h in Python/random.c

Based on patch by Roumen Petrov.
parent 6a09315f
...@@ -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.
......
#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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment