mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Moved definition of search path DELIM here (from sysmodule.c).
This commit is contained in:
parent
e2437a191d
commit
9b9ccd3fe3
1 changed files with 9 additions and 0 deletions
|
@ -27,17 +27,26 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#ifdef macintosh
|
||||
#define SEP ':'
|
||||
#define MAXPATHLEN 256
|
||||
#define DELIM ' '
|
||||
#endif
|
||||
|
||||
#ifdef MSDOS
|
||||
#define SEP '\\'
|
||||
#define MAXPATHLEN 256
|
||||
#define DELIM ';'
|
||||
#endif
|
||||
|
||||
/* Filename separator */
|
||||
#ifndef SEP
|
||||
#define SEP '/'
|
||||
#endif
|
||||
|
||||
/* Max pathname length */
|
||||
#ifndef MAXPATHLEN
|
||||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
|
||||
/* Search path entry delimiter */
|
||||
#ifndef DELIM
|
||||
#define DELIM ':'
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue