diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-06-28 10:20:13 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-06-28 10:20:13 +0000 |
commit | ba2c33bcc94b39c1eabe62fee838173aa14e76c4 (patch) | |
tree | fb6cf347803b10bcf894aa69535dc0b2b60d6809 /Build/source/texk/kpathsea/hash.c | |
parent | f39500686f1d59c546088298de78c179dc55189e (diff) |
kpathsea: Eliminate global and static variables (w32 only)
git-svn-id: svn://tug.org/texlive/trunk@41557 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/hash.c')
-rw-r--r-- | Build/source/texk/kpathsea/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/hash.c b/Build/source/texk/kpathsea/hash.c index 22c2b0806ff..0b126ce8369 100644 --- a/Build/source/texk/kpathsea/hash.c +++ b/Build/source/texk/kpathsea/hash.c @@ -1,6 +1,6 @@ /* hash.c: hash table operations. - Copyright 1994-2000, 2002, 2005, 2008, 2012 + Copyright 1994-2000, 2002, 2005, 2008, 2012, 2016 Karl Berry & Olaf Weber. This library is free software; you can redistribute it and/or @@ -35,7 +35,7 @@ hash (hash_table_type table, const_string key) /* Our keys aren't often anagrams of each other, so no point in weighting the characters. */ while (*key != 0) -#if defined(WIN32) +#if defined (WIN32) && defined (KPSE_COMPAT_API) if (IS_KANJI(key)) { n = (n + n + (unsigned)(*key++)) % table.size; n = (n + n + (unsigned)(*key++)) % table.size; |