This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++] Don't access fpos_t.__state on uClibc w/o wchar support
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Bernardo Innocenti <bernie at develer dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ at gcc dot gnu dot org
- Date: 22 Sep 2003 19:52:26 +0200
- Subject: Re: [libstdc++] Don't access fpos_t.__state on uClibc w/o wchar support
- Organization: Integrable Solutions
- References: <3F6F35B8.4090200@develer.com>
Bernardo Innocenti <bernie@develer.com> writes:
| Don't access __state member of fpos_t when building on uClibc with
| wchar support disabled.
| +#if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__)
Why can't you use the standard idiom
#if _GLIBCXX_USE_WCHAR_T
?
-- Gaby