From 9b9ccd3fe3ee1c4766e13eaff32f5e5cb38e0848 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 23 Mar 1992 18:20:32 +0000 Subject: [PATCH] Moved definition of search path DELIM here (from sysmodule.c). --- Include/osdefs.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Include/osdefs.h b/Include/osdefs.h index f09b88d211d0..938394308cd5 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