[ python-Bugs-1749567 ] PLATFORM macro in PC/pyconfig.h already defined by Apache

SourceForge.net noreply at sourceforge.net
Sat Jul 7 13:35:40 CEST 2007


Bugs item #1749567, was opened at 2007-07-07 14:34
Message generated for change (Settings changed) made by adalx
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1749567&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.5
Status: Open
Resolution: None
>Priority: 3
Private: No
Submitted By: Adal Chiriliuc (adalx)
Assigned to: Nobody/Anonymous (nobody)
Summary: PLATFORM macro in PC/pyconfig.h already defined by Apache

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1749567&group_id=5470


More information about the Python-bugs-list mailing list