[issue8548] Building on CygWin 1.7: PATH_MAX redefined
Nicholas DiPiazza
report at bugs.python.org
Tue May 29 22:14:41 CEST 2012
Nicholas DiPiazza <nicholas.dipiazza at gmail.com> added the comment:
In Python3.1.2-src/Modules/main.c
I actually had to use this to get it to work:
#if defined(MS_WINDOWS) || defined(__CYGWIN__)
#include <windows.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifndef HAVE_FCNTL_H
#define PATH_MAX MAXPATHLEN
#endif
#endif
----------
nosy: +Nicholas.DiPiazza
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8548>
_______________________________________
More information about the Python-bugs-list
mailing list