diff options
author | Guido van Rossum <guido@python.org> | 1992-03-23 18:20:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-03-23 18:20:32 (GMT) |
commit | 9b9ccd3fe3ee1c4766e13eaff32f5e5cb38e0848 (patch) | |
tree | b212ac42ac092466218937874ce7c273df03baec /Include | |
parent | e2437a191d1498f12cbb6906dfbe4e79c38271ad (diff) | |
download | cpython-9b9ccd3fe3ee1c4766e13eaff32f5e5cb38e0848.zip cpython-9b9ccd3fe3ee1c4766e13eaff32f5e5cb38e0848.tar.gz cpython-9b9ccd3fe3ee1c4766e13eaff32f5e5cb38e0848.tar.bz2 |
Moved definition of search path DELIM here (from sysmodule.c).
Diffstat (limited to 'Include')
-rw-r--r-- | Include/osdefs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h index f09b88d..9383943 100644 --- a/Include/osdefs.h +++ b/Include/osdefs.h @@ -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 |