aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJason Rumney <[email protected]>2000-06-11 20:35:07 +0000
committerJason Rumney <[email protected]>2000-06-11 20:35:07 +0000
commit945499122b67acecdb020124c6b862ddd8f29a79 (patch)
tree6a38ebdce3e50d63d3f9cb58bf130b2504f2f56f /lib-src
parentfb1b041d1e02fe6a457df6c4cdd3284e1c4b8a1e (diff)
[WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ebrowse.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index c9b43175d9..6051199da8 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"