diff options
author | doko <doko@ubuntu.com> | 2014-04-17 19:47:16 +0200 |
---|---|---|
committer | doko <doko@ubuntu.com> | 2014-04-17 19:47:16 +0200 |
commit | 63e2c6a951602f90e6757e36902459b5adcfcda1 (patch) | |
tree | 46ed6662b627fb65fbb2270b339411764a451fee /Python/pythonrun.c | |
parent | c4a892b78cb328b866ba3b648b42bbc30b58214e (diff) | |
download | cpython-63e2c6a951602f90e6757e36902459b5adcfcda1.tar.gz |
Fixes for KFreeBSD and the Hurd:
- Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
- Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd.
- Issue #21275: Fix a socket test on KFreeBSD.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index e9947e9ff6..b3991ead91 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -35,6 +35,10 @@ #define PATH_MAX MAXPATHLEN #endif +#ifdef __gnu_hurd__ +#define PATH_MAX MAXPATHLEN +#endif + _Py_IDENTIFIER(builtins); _Py_IDENTIFIER(excepthook); _Py_IDENTIFIER(flush); |