[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
quotearg.c fails when multibyte processing is disabled
From: |
Simon Josefsson |
Subject: |
quotearg.c fails when multibyte processing is disabled |
Date: |
Tue, 23 Aug 2005 13:26:30 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
How about this?
2005-08-23 Simon Josefsson <address@hidden>
* quotearg.c [!HAVE_MBRTOWC]: Map mbstate_t to int, so that
compilation suceed when multibyte processing is disabled.
--- quotearg.c 16 Jul 2005 21:29:14 +0200 1.45
+++ quotearg.c 23 Aug 2005 13:25:06 +0200
@@ -56,6 +56,7 @@
# define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)
# define iswprint(wc) isprint ((unsigned char) (wc))
# undef HAVE_MBSINIT
+# define mbstate_t int
#endif
#if !defined mbsinit && !HAVE_MBSINIT
- quotearg.c fails when multibyte processing is disabled,
Simon Josefsson <=