This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: mingw: translate gcc internal defines to python platform specific defines
Type: enhancement Stage: resolved
Components: Build, Windows Versions: Python 3.4
process
Status: closed Resolution: wont fix
Dependencies: Superseder: MinGW is unsupported - close all open issues and list them here.
View: 45538
Assigned To: Nosy List: Alex.Willmer, martin.panter, paul.moore, rpetrov, steve.dower, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2013-03-31 19:39 by rpetrov, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
0002-MINGW-translate-gcc-internal-defines-to-python-platf.patch rpetrov, 2013-03-31 19:39
MS_WINDOWS-move.patch martin.panter, 2016-03-12 01:27 review
Messages (3)
msg185647 - (view) Author: Roumen Petrov (rpetrov) * Date: 2013-03-31 19:39
split of issue3871
msg261487 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-03-10 09:30
What’s the point of allowing each macro to already be defined? I understand they may also be defined by PC/pyconfig.h, but is that possible if __MINGW32__ is defined?

Is the __MINGW32__ condition needed at all? Maybe we can just blindly rely on the _WIN32 etc macros. Perhaps the PC/pyconfig.h definitions could be removed in favour of the ones in "pyport.h"?
msg261629 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-03-12 01:27
Here is a possible alternative patch that moves MS_WINDOWS etc from PC/pyconfig.h to "pyport.h". Not tested with standard Windows build.
History
Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61790
2021-10-21 10:00:07iritkatrielsetresolution: duplicate -> wont fix
2021-10-20 12:46:32iritkatrielsetstatus: open -> closed
superseder: MinGW is unsupported - close all open issues and list them here.
resolution: duplicate
stage: patch review -> resolved
2016-03-12 01:27:26martin.pantersetfiles: + MS_WINDOWS-move.patch

messages: + msg261629
components: - Cross-Build
2016-03-11 21:04:42martin.panterlinkissue17605 dependencies
2016-03-10 09:30:53martin.pantersetnosy: + martin.panter, paul.moore, tim.golden, Alex.Willmer, zach.ware, steve.dower
messages: + msg261487

components: + Windows
stage: patch review
2013-03-31 19:39:59rpetrovcreate