From: Guido van Rossum Date: Mon, 23 Mar 1992 18:20:32 +0000 (+0000) Subject: Moved definition of search path DELIM here (from sysmodule.c). X-Git-Tag: v0.9.8~472 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b9ccd3fe3ee1c4766e13eaff32f5e5cb38e0848;p=thirdparty%2FPython%2Fcpython.git Moved definition of search path DELIM here (from sysmodule.c). --- 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