From: Jason Rumney Date: Sun, 11 Jun 2000 20:35:07 +0000 (+0000) Subject: [WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames. X-Git-Tag: emacs-pretest-21.0.90~3401 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=945499122b67acecdb020124c6b862ddd8f29a79;p=emacs.git [WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames. --- 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"