From 945499122b67acecdb020124c6b862ddd8f29a79 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sun, 11 Jun 2000 20:35:07 +0000 Subject: [PATCH] [WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames. --- lib-src/ebrowse.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index c9b43175d9e..6051199da86 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -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" -- 2.39.5