Commit 94549912 authored by Jason Rumney's avatar Jason Rumney

[WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames.

parent fb1b041d
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment