diff options
author | Paolo Carlini <pcarlini@suse.de> | 2006-02-05 11:38:57 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-02-05 11:38:57 +0000 |
commit | 93638ec7948abfd1c205d06c5c4cb9e603b78b32 (patch) | |
tree | 85cfc5081abd7f7273316a72baeef26edce7c621 /libstdc++-v3/include/tr1/cwctype | |
parent | dc2cd23211e027961bd2c4071a57bfde60d66976 (diff) | |
download | gcc-93638ec7948abfd1c205d06c5c4cb9e603b78b32.tar.gz |
cstdio: New.
2006-02-05 Paolo Carlini <pcarlini@suse.de>
* include/tr1/cstdio: New.
* include/tr1/stdio.h: Likewise.
* include/Makefile.am: Add.
* testsuite/tr1/8_c_compatibility/cstdio/functions.cc: New.
* testsuite/tr1/headers.cc: Update.
* docs/html/ext/tr1.html: Update.
* include/tr1/cwchar: Simplify, use _GLIBCXX_USE_C99, consistently
with the facilities in std::.
* include/tr1/cwctype: Likewise.
* testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Tweak.
* testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
* acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Remove <wchar.h> and
<wctype.h> checks.
* include/Makefile.in: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.
From-SVN: r110613
Diffstat (limited to 'libstdc++-v3/include/tr1/cwctype')
-rw-r--r-- | libstdc++-v3/include/tr1/cwctype | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libstdc++-v3/include/tr1/cwctype b/libstdc++-v3/include/tr1/cwctype index 3e94f270213..2784f405f1b 100644 --- a/libstdc++-v3/include/tr1/cwctype +++ b/libstdc++-v3/include/tr1/cwctype @@ -40,16 +40,14 @@ #include <cwctype> -#if _GLIBCXX_USE_C99_WCTYPE_TR1 - -#undef iswblank - // namespace std::tr1 namespace std { _GLIBCXX_BEGIN_NAMESPACE(tr1) - using ::iswblank; +#if _GLIBCXX_HAVE_ISWBLANK + using std::iswblank; +#endif _GLIBCXX_END_NAMESPACE } @@ -57,5 +55,3 @@ _GLIBCXX_END_NAMESPACE #endif #endif - -#endif |