diff options
| author | Jason Rumney | 2000-06-11 20:35:07 +0000 |
|---|---|---|
| committer | Jason Rumney | 2000-06-11 20:35:07 +0000 |
| commit | 945499122b67acecdb020124c6b862ddd8f29a79 (patch) | |
| tree | 6a38ebdce3e50d63d3f9cb58bf130b2504f2f56f /lib-src | |
| parent | fb1b041d1e02fe6a457df6c4cdd3284e1c4b8a1e (diff) | |
| download | emacs-945499122b67acecdb020124c6b862ddd8f29a79.tar.gz emacs-945499122b67acecdb020124c6b862ddd8f29a79.zip | |
[WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ebrowse.c | 8 |
1 files 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 @@ | |||
| 57 | 57 | ||
| 58 | /* The character used as a separator in path lists (like $PATH). */ | 58 | /* The character used as a separator in path lists (like $PATH). */ |
| 59 | 59 | ||
| 60 | #if defined(__MSDOS__) || defined(WINDOWSNT) | 60 | #if defined(__MSDOS__) |
| 61 | #define PATH_LIST_SEPARATOR ';' | 61 | #define PATH_LIST_SEPARATOR ';' |
| 62 | #define FILENAME_EQ(X,Y) (strcasecmp(X,Y) == 0) | 62 | #define FILENAME_EQ(X,Y) (strcasecmp(X,Y) == 0) |
| 63 | #else | 63 | #else |
| 64 | #if defined(WINDOWSNT) | ||
| 65 | #define PATH_LIST_SEPARATOR ';' | ||
| 66 | #define FILENAME_EQ(X,Y) (stricmp(X,Y) == 0) | ||
| 67 | #else | ||
| 64 | #define PATH_LIST_SEPARATOR ':' | 68 | #define PATH_LIST_SEPARATOR ':' |
| 65 | #define FILENAME_EQ(X,Y) (streq(X,Y)) | 69 | #define FILENAME_EQ(X,Y) (streq(X,Y)) |
| 66 | #endif | 70 | #endif |
| 67 | 71 | #endif | |
| 68 | /* The default output file name. */ | 72 | /* The default output file name. */ |
| 69 | 73 | ||
| 70 | #define DEFAULT_OUTFILE "BROWSE" | 74 | #define DEFAULT_OUTFILE "BROWSE" |