Author: sebor
Date: Wed Feb 8 12:01:36 2006
New Revision: 376036
URL: http://svn.apache.org/viewcvs?rev=376036&view=rev
Log:
i2006-02-08 Martin Sebor <[EMAIL PROTECTED]>
* _mbstate.h [_RWSTD_OS_SUNOS] (_RWSTD_NO_STD_MBSTATE_T): Defined to
let <cwchar> et al know that mbstate_t is not declared in namespace
std (and should be introduced there via a using declaration).
Modified:
incubator/stdcxx/trunk/include/rw/_mbstate.h
Modified: incubator/stdcxx/trunk/include/rw/_mbstate.h
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/rw/_mbstate.h?rev=376036&r1=376035&r2=376036&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_mbstate.h (original)
+++ incubator/stdcxx/trunk/include/rw/_mbstate.h Wed Feb 8 12:01:36 2006
@@ -76,6 +76,9 @@
# define _RWSTD_MBSTATE_T _STD::mbstate_t
# else // if !(HP aCC -AA)
+ // let <cwchar> et al know that mbstate_t is not declared
+ // in namespace std (and should be introduced there via
+ // a using declaration)
# define _RWSTD_NO_STD_MBSTATE_T
_RWSTD_NAMESPACE (std) {
@@ -89,6 +92,9 @@
# else // if defined (_MBSTATE_T)
// /usr/include/sys/_mbstate_t.h #included and mbstate_t defined
# ifndef _NAMESPACE_STD
+ // let <cwchar> et al know that mbstate_t is not declared
+ // in namespace std (and should be introduced there via
+ // a using declaration)
# define _RWSTD_NO_STD_MBSTATE_T
_RWSTD_NAMESPACE (std) {
@@ -160,6 +166,10 @@
# endif // _MBSTATET_H
# define _RWSTD_MBSTATE_T __mbstate_t
+ // let <cwchar> et al know that mbstate_t is not declared
+ // in namespace std (and should be introduced there via
+ // a using declaration)
+# define _RWSTD_NO_STD_MBSTATE_T
# elif defined (_RWSTD_OS_DARWIN)
/*** Apple Darwin/OS X ****************************************************/
@@ -210,6 +220,10 @@
# endif // _MBSTATET_H
# endif // _WCHAR_IMPL_H
# define _RWSTD_MBSTATE_T __mbstate_t
+ // let <cwchar> et al know that mbstate_t is not declared
+ // in namespace std (and should be introduced there via
+ // a using declaration)
+# define _RWSTD_NO_STD_MBSTATE_T
# else // any other OS
# ifndef _RWSTD_NO_USING_LIBC_IN_STD