[WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames.
This commit is contained in:
parent
fb1b041d1e
commit
945499122b
1 changed files with 6 additions and 2 deletions
|
@ -57,14 +57,18 @@
|
|||
|
||||
/* The character used as a separator in path lists (like $PATH). */
|
||||
|
||||
#if defined(__MSDOS__) || defined(WINDOWSNT)
|
||||
#if defined(__MSDOS__)
|
||||
#define PATH_LIST_SEPARATOR ';'
|
||||
#define FILENAME_EQ(X,Y) (strcasecmp(X,Y) == 0)
|
||||
#else
|
||||
#if defined(WINDOWSNT)
|
||||
#define PATH_LIST_SEPARATOR ';'
|
||||
#define FILENAME_EQ(X,Y) (stricmp(X,Y) == 0)
|
||||
#else
|
||||
#define PATH_LIST_SEPARATOR ':'
|
||||
#define FILENAME_EQ(X,Y) (streq(X,Y))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/* The default output file name. */
|
||||
|
||||
#define DEFAULT_OUTFILE "BROWSE"
|
||||
|
|
Loading…
Add table
Reference in a new issue