[issue20597] PATH_MAX already defined on some Windows compilers

Jeffrey Armstrong report at bugs.python.org
Wed Nov 5 12:27:00 CET 2014


Jeffrey Armstrong added the comment:

What's to understand?  Some compilers, particularly MinGW and Open Watcom, already define a PATH_MAX macro on Windows, and it's not necessarily the same as Python's redefinition of it, possibly causing a compiler error.  That's all.

Given the time frame that this bug has existed (9 months!?!) and its trivial fix, which would involve adding an  "#ifndef PATH_MAX" right before its declaration, I think "won't fix" is an appropriate resolution.

Leave it open or don't, it makes little difference to me as I'm no longer interested.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20597>
_______________________________________


More information about the Python-bugs-list mailing list