diff options
author | NIIBE Yutaka <[email protected]> | 2017-03-07 00:57:16 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-03-07 00:57:16 +0000 |
commit | 1126c4c117a47c8ea8435ac11561d51b13f538dd (patch) | |
tree | fe2bec920d48ec4b2e574e6a2fbc8695edd3e08c /src | |
parent | po: Update Japanese translation. (diff) | |
download | libgpg-error-1126c4c117a47c8ea8435ac11561d51b13f538dd.tar.gz libgpg-error-1126c4c117a47c8ea8435ac11561d51b13f538dd.zip |
w32: Conditionalize ISO 2022 definitions.
* src/w32-iconv.c (iso2022_SI_seq, iso2022_SO_seq) [USE_MLANG_DLL]:
Only for USE_MLANG_DLL.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/w32-iconv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32-iconv.c b/src/w32-iconv.c index c10bb32..888b722 100644 --- a/src/w32-iconv.c +++ b/src/w32-iconv.c @@ -1475,6 +1475,7 @@ utf32_wctomb(csconv_t *cv, ushort *wbuf, int wbufsize, uchar *buf, int bufsize) #define ISO2022_SI 0 #define ISO2022_SO 1 +#if USE_MLANG_DLL /* shift in */ static const char iso2022_SI_seq[] = "\x0F"; /* shift out */ @@ -1487,6 +1488,7 @@ struct iso2022_esc_t { int len; int cs; }; +#endif #define ISO2022JP_CS_ASCII 0 #define ISO2022JP_CS_JISX0201_ROMAN 1 |