-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8953 from naveen521kk/python-git
python3.9: autogenerate patches from git
- Loading branch information
Showing
146 changed files
with
3,775 additions
and
1,975 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cpython/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
mingw-w64-python3.9/0004-MINGW-translate-gcc-internal-defines-to-python-platf.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
From c0de4a6d61bbf0d860b2b0fa619a229e26147bd6 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?= | ||
<alexey.pawlow@gmail.com> | ||
Date: Thu, 17 Jun 2021 18:51:13 +0530 | ||
Subject: [PATCH 04/N] MINGW translate gcc internal defines to python platf | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Co-authored-by: Алексей <alexey.pawlow@gmail.com> | ||
Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com> | ||
--- | ||
Include/pyport.h | 15 +++++++++++++++ | ||
1 file changed, 15 insertions(+) | ||
|
||
diff --git a/Include/pyport.h b/Include/pyport.h | ||
index 4bd4eb4..475c2a8 100644 | ||
--- a/Include/pyport.h | ||
+++ b/Include/pyport.h | ||
@@ -26,6 +26,21 @@ | ||
#endif | ||
|
||
|
||
+#ifdef __MINGW32__ | ||
+/* Translate GCC[mingw*] platform specific defines to those | ||
+ * used in python code. | ||
+ */ | ||
+#if !defined(MS_WIN64) && defined(_WIN64) | ||
+# define MS_WIN64 | ||
+#endif | ||
+#if !defined(MS_WIN32) && defined(_WIN32) | ||
+# define MS_WIN32 | ||
+#endif | ||
+#if !defined(MS_WINDOWS) && defined(MS_WIN32) | ||
+# define MS_WINDOWS | ||
+#endif | ||
+#endif /* __MINGW32__*/ | ||
+ | ||
/************************************************************************** | ||
Symbols and macros to supply platform-independent interfaces to basic | ||
C language & library operations whose spellings vary across platforms. | ||
-- | ||
2.32.0 | ||
|
Oops, something went wrong.