Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5)

Unified Diff: Python/random.c

Issue 3871: cross and native build of python for mingw32 with distutils
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Python/fileblocks.c ('k') | Python/thread.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Python/random.c Thu Dec 27 23:52:36 2012 +0200
+++ b/Python/random.c Thu Dec 27 17:35:12 2012 -0500
@@ -1,6 +1,13 @@
#include "Python.h"
#ifdef MS_WINDOWS
#include <windows.h>
+#ifdef __MINGW32__
+/* NOTE: All sample MSDN wincrypt programs include this header.
+ * It is required if we use mingw w32api.
+ * Why MSVC builds don't include it ?
+ */
+# include <wincrypt.h>
+#endif
#else
#include <fcntl.h>
#endif
« no previous file with comments | « Python/fileblocks.c ('k') | Python/thread.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+