8 /* Operating system dependencies */
10 /* Mod by chrish: QNX has WATCOM, but isn't DOS */
12 #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
13 #if defined(PYOS_OS2) && defined(PYCC_GCC)
14 #define MAXPATHLEN 260
20 #define MAXPATHLEN 256
28 #define MAXPATHLEN 256
33 /* Filename separator */
38 /* Max pathname length */
40 #if defined(PATH_MAX) && PATH_MAX > 1024
41 #define MAXPATHLEN PATH_MAX
43 #define MAXPATHLEN 1024
47 /* Search path entry delimiter */
55 #endif /* !Py_OSDEFS_H */