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

Unified Diff: Modules/_winapi.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 | « Modules/socketmodule.h ('k') | Objects/exceptions.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Modules/_winapi.c Thu Dec 27 23:52:36 2012 +0200
+++ b/Modules/_winapi.c Thu Dec 27 17:35:12 2012 -0500
@@ -39,7 +39,20 @@
#define WINDOWS_LEAN_AND_MEAN
#include "windows.h"
+#ifdef _MSC_VER
+# define HAVE_CRTDBG_H
+#endif
+#ifdef HAVE_CRTDBG_H
#include <crtdbg.h>
+#endif
+
+#ifndef FILE_FLAG_FIRST_PIPE_INSTANCE
+/* require _WIN32_WINNT >= 0x0500
+ * MSDN Note - Windows 2000:
+ * This flag is not supported until Windows 2000 SP2 and Windows XP.
+ */
+#define FILE_FLAG_FIRST_PIPE_INSTANCE 0x00080000
+#endif
#if defined(MS_WIN32) && !defined(MS_WIN64)
#define HANDLE_TO_PYNUM(handle) \
« no previous file with comments | « Modules/socketmodule.h ('k') | Objects/exceptions.c » ('j') | no next file with comments »

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