diff options
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; |