Mercurial > emacs
comparison lib-src/ebrowse.c @ 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 | bb40802a0af0 |
children | 565ecd919fca |
comparison
equal
deleted
inserted
replaced
29560:ba2f35b91d3e | 29561:235fb8ea80a2 |
---|---|
55 | 55 |
56 #define READ_CHUNK_SIZE (100 * 1024) | 56 #define READ_CHUNK_SIZE (100 * 1024) |
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 | |
64 #if defined(WINDOWSNT) | |
65 #define PATH_LIST_SEPARATOR ';' | |
66 #define FILENAME_EQ(X,Y) (stricmp(X,Y) == 0) | |
63 #else | 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" |
71 | 75 |
72 /* A version string written to the output file. Change this whenever | 76 /* A version string written to the output file. Change this whenever |