Drop Python2 support. Round 4
This commit is contained in:
12
python/005-3.6-PATH_MAX.patch
Normal file
12
python/005-3.6-PATH_MAX.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- Python-3.6.0/Modules/main.c.orig 2017-02-08 04:28:31.840450700 -0500
|
||||
+++ Python-3.6.0/Modules/main.c 2017-02-08 04:31:01.757513100 -0500
|
||||
@@ -12,6 +12,9 @@
|
||||
#endif
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
+#ifndef PATH_MAX
|
||||
+#define PATH_MAX MAXPATHLEN
|
||||
+#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user