summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/db.c')
-rw-r--r--Build/source/texk/kpathsea/db.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/db.c b/Build/source/texk/kpathsea/db.c
index a80f4adb212..afacca560a0 100644
--- a/Build/source/texk/kpathsea/db.c
+++ b/Build/source/texk/kpathsea/db.c
@@ -43,11 +43,19 @@
#define DB_NAME_LC "ls-r"
#endif
+/* read ls-R only on WIN32 */
+#ifdef WIN32
+static const_string db_names[] = {
+ DB_NAME,
+ NULL
+};
+#else
static const_string db_names[] = {
DB_NAME,
DB_NAME_LC,
NULL
};
+#endif
#ifndef ALIAS_NAME
#define ALIAS_NAME "aliases"