Mercurial > emacs
changeset 29561:235fb8ea80a2
[WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sun, 11 Jun 2000 20:35:07 +0000 |
parents | ba2f35b91d3e |
children | b67a9217ae02 |
files | lib-src/ebrowse.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/ebrowse.c Sun Jun 11 17:37:16 2000 +0000 +++ b/lib-src/ebrowse.c Sun Jun 11 20:35:07 2000 +0000 @@ -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"