Closed d8d5aad8-e55b-4500-a3a0-9ea982d771ff closed 2 years ago
split of bpo-3871
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"?
Here is a possible alternative patch that moves MS_WINDOWS etc from PC/pyconfig.h to "pyport.h". Not tested with standard Windows build.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = None closed_at =
created_at =
labels = ['type-feature', 'OS-windows', 'build']
title = 'mingw: translate gcc internal defines to python platform specific defines'
updated_at =
user = 'https://bugs.python.org/rpetrov'
```
bugs.python.org fields:
```python
activity =
actor = 'iritkatriel'
assignee = 'none'
closed = True
closed_date =
closer = 'iritkatriel'
components = ['Build', 'Windows']
creation =
creator = 'rpetrov'
dependencies = []
files = ['29624', '42141']
hgrepos = []
issue_num = 17590
keywords = ['patch']
message_count = 3.0
messages = ['185647', '261487', '261629']
nosy_count = 7.0
nosy_names = ['paul.moore', 'tim.golden', 'rpetrov', 'martin.panter', 'zach.ware', 'steve.dower', 'Alex.Willmer']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = '45538'
type = 'enhancement'
url = 'https://bugs.python.org/issue17590'
versions = ['Python 3.4']
```