diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-08-07 18:29:02 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-08-07 18:29:02 +0000 |
commit | 85a698b8ec0c68ce6bf130dbe909ca5ff129c6d9 (patch) | |
tree | ea496104bc5609215dd58ed57f6ca8157b648121 /Src/zsh.h | |
parent | 494444b90a09b82b84d9964b3989d2de0d48761b (diff) | |
download | zsh-85a698b8ec0c68ce6bf130dbe909ca5ff129c6d9.tar.gz zsh-85a698b8ec0c68ce6bf130dbe909ca5ff129c6d9.tar.xz zsh-85a698b8ec0c68ce6bf130dbe909ca5ff129c6d9.zip |
YAMAMOTO Takashi: 30599: don't use replacement wcwidth if not ISO-10646
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index cc3a67008..afe22f059 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -2678,7 +2678,7 @@ typedef wint_t convchar_t; #define MB_METASTRWIDTH(str) mb_metastrlen(str, 1) #define MB_METASTRLEN2(str, widthp) mb_metastrlen(str, widthp) -#ifdef BROKEN_WCWIDTH +#if defined(BROKEN_WCWIDTH) && defined(__STDC_ISO_10646__) #define WCWIDTH(wc) mk_wcwidth(wc) #else #define WCWIDTH(wc) wcwidth(wc) |