summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/db.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-15 02:50:43 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-15 02:50:43 +0000
commitf751cdbc44151416e0e7ad3b8d6e55898f2030ef (patch)
tree229255ef3578d8bf21cd559f6bb28a1b906c6a81 /Build/source/texk/kpathsea/db.c
parent7c7fd723c7ab7cad6a302ebc0560ced54b5d3d41 (diff)
avoid late declaration.
git-svn-id: svn://tug.org/texlive/trunk@18279 c570f23f-e606-0410-a88d-b1316a301751
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"