Moved definition of search path DELIM here (from sysmodule.c).

This commit is contained in:
Guido van Rossum 1992-03-23 18:20:32 +00:00
parent e2437a191d
commit 9b9ccd3fe3
1 changed files with 9 additions and 0 deletions

View File

@ -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