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.

Author Jeffrey.Armstrong
Recipients Jeffrey.Armstrong
Date 2014-02-11.13:11:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392124275.46.0.750764006124.issue20597@psf.upfronthosting.co.za>
In-reply-to
Content
On some Windows compilers, the constant PATH_MAX may already be defined, which will cause compile errors on non-MSVC compilers (notably Open Watcom and MinGW).  Rather than assume it is not available and define it in all "#ifdef MS_WINDOWS" cases, it should first be checked for existence.

This patch adds said check to Modules/main.c and Python/pythonrun.c.  This patch should not affect any existing platforms (including MSVC builds).
History
Date User Action Args
2014-02-11 13:11:15Jeffrey.Armstrongsetrecipients: + Jeffrey.Armstrong
2014-02-11 13:11:15Jeffrey.Armstrongsetmessageid: <1392124275.46.0.750764006124.issue20597@psf.upfronthosting.co.za>
2014-02-11 13:11:15Jeffrey.Armstronglinkissue20597 messages
2014-02-11 13:11:15Jeffrey.Armstrongcreate