Define and use a path separator string

A colon can't be used to separate paths on Windows since they are used
in drive sepecification.  Define a macro that can be used as a path
separator string.  On Windows, this is defined as ";".  It is a ":"
everywhere else.
This commit is contained in:
Asanka C. Herath
2010-11-12 11:34:21 -05:00
parent 0ea880bdeb
commit d3582b56c6
4 changed files with 18 additions and 11 deletions

View File

@@ -99,9 +99,12 @@ static const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
@FEATURE_DEFS@
/* Define is backslashes act as path delimiters */
/* Define is backslashes act as path name delimiters */
#define BACKSLASH_PATH_DELIM 1
/* Path separator character */
#define PATH_SEP ";"
/* Define if you want to use DES encryption in telnet. */
#define DES_ENCRYPTION 1