Issue 1749567: PLATFORM macro in PC/pyconfig.h already defined by Apache (original) (raw)
Issue1749567
Created on 2007-07-07 11:34 by moese, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg32456 - (view) | Author: Moese (moese) | Date: 2007-07-07 11:34 |
Both pyconfig.h from Python and os.h from Apache define the PLATFORM macro ("win32" vs. "Win32"). For projects which include both (like mod_wsgi) this generates a level 1 warning in Visual Studio. Maybe the PLATFORM define could be renamed to PY_PLATFORM? There are a few other macros which could potentially collide with other libraries like COMPILER. Obviously this problem is shared by Python and Apache. I'm not implying that Python is the one which should fix it. | ||
msg59782 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2008-01-12 04:21 |
Please provide a patch and documentation updates (if required) or I'm going to close the bug in two weeks (2008-01-26). |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:25 | admin | set | github: 45155 |
2008-05-12 17:10:06 | georg.brandl | set | status: pending -> closed |
2008-01-12 04:21:16 | christian.heimes | set | status: open -> pendingversions: + Python 2.6, - Python 2.5nosy: + christian.heimesmessages: + components: + Buildtype: enhancement |
2007-07-07 11:34:23 | moese | create |