diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-02-01 10:52:50 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-02-01 10:52:50 +0000 |
commit | d1d67428480b8fb1b38d3408fad6ca53e14823cc (patch) | |
tree | e910011f4598d169c1fe760061c0411269699316 /Src/utils.c | |
parent | 8b53cc45bd7f1e1f1b2aa5db09903ca8b40f6d70 (diff) | |
download | zsh-d1d67428480b8fb1b38d3408fad6ca53e14823cc.tar.gz zsh-d1d67428480b8fb1b38d3408fad6ca53e14823cc.tar.xz zsh-d1d67428480b8fb1b38d3408fad6ca53e14823cc.zip |
20759, 20760, 20765: Improve Cygwin configuration
Diffstat (limited to 'Src/utils.c')
-rw-r--r-- | Src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/utils.c b/Src/utils.c index 21416a535..26e6b934a 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -3510,7 +3510,7 @@ getkeystring(char *s, int *len, int fromwhere, int *misc) size_t count; #else unsigned int wval; -# if defined(HAVE_NL_LANGINFO) && defined(CODESET) && (defined(HAVE_ICONV) || defined(HAVE_LIBICONV)) +# if defined(HAVE_NL_LANGINFO) && defined(CODESET) && (defined(HAVE_ICONV_H) || defined(HAVE_ICONV) || defined(HAVE_LIBICONV)) iconv_t cd; char inbuf[4]; size_t inbytes, outbytes; @@ -3631,7 +3631,7 @@ getkeystring(char *s, int *len, int fromwhere, int *misc) t += ucs4toutf8(t, wval); continue; } else { -# if defined(HAVE_ICONV) || defined(HAVE_LIBICONV) +# if defined(HAVE_ICONV_H) || defined(HAVE_ICONV) || defined(HAVE_LIBICONV) inbytes = 4; outbytes = 6; inptr = inbuf; |