diff options
author | no-author <no-author@gcc.gnu.org> | 2002-06-24 16:14:28 +0000 |
---|---|---|
committer | no-author <no-author@gcc.gnu.org> | 2002-06-24 16:14:28 +0000 |
commit | d7c16291772cee0918f2bd6c3f1976f584bb8ed6 (patch) | |
tree | d7410c5f44cfe400d0eb3e0b8e8ba23ee129f4df /libstdc++-v3/include/c_std/std_cwctype.h | |
parent | fefb15d75743dd7f453d7ed065327338b8c27017 (diff) |
This commit was manufactured by cvs2svn to create taggcc_3_1_release
'gcc_3_1_release'.
git-svn-id: https://gcc.gnu.org/svn/gcc/tags/gcc_3_1_release@54955 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/std_cwctype.h')
-rw-r--r-- | libstdc++-v3/include/c_std/std_cwctype.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libstdc++-v3/include/c_std/std_cwctype.h b/libstdc++-v3/include/c_std/std_cwctype.h index 6d090b97ab2..e469194aa19 100644 --- a/libstdc++-v3/include/c_std/std_cwctype.h +++ b/libstdc++-v3/include/c_std/std_cwctype.h @@ -1,6 +1,7 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -44,7 +45,12 @@ #define _CPP_CWCTYPE 1 #pragma GCC system_header + +#include <bits/c++config.h> + +#if _GLIBCPP_HAVE_WCTYPE_H #include <wctype.h> +#endif // Get rid of those macros defined in <wctype.h> in lieu of real functions. #undef iswalnum @@ -67,6 +73,7 @@ #undef wctrans #undef wctype +#if _GLIBCPP_USE_WCHAR_T namespace std { using ::wint_t; // cwchar @@ -94,5 +101,6 @@ namespace std using ::wctrans; using ::wctype; } +#endif //_GLIBCPP_USE_WCHAR_T #endif |