[issue17596] mingw: add wincrypt.h in Python/random.c
Martin Panter
report at bugs.python.org
Fri Jul 29 00:13:30 EDT 2016
Martin Panter added the comment:
For the record, the first error without this patch is
../Python/random.c:26:1: error: unknown type name 'HCRYPTPROV'
According to <https://msdn.microsoft.com/en-us/library/windows/desktop/aa382471%28v=vs.85%29.aspx>, the header to use is <Wincrypt.h>, but we use lowercase <wincrypt.h> to avoid a problem with case sensitivity.
----------
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17596>
_______________________________________
More information about the Python-bugs-list
mailing list