Author: faridz
Date: Wed Jun  6 04:11:19 2007
New Revision: 544804

URL: http://svn.apache.org/viewvc?view=rev&rev=544804
Log:
2007-06-06 Farid Zaripov <[EMAIL PROTECTED]>

        STDCXX-188
        * typeinfo.cpp: use ::_C_name or std::_C_name depending on 
_RWSTD_NO_STD_TYPE_INFO macro

Modified:
    incubator/stdcxx/trunk/src/typeinfo.cpp

Modified: incubator/stdcxx/trunk/src/typeinfo.cpp
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/typeinfo.cpp?view=diff&rev=544804&r1=544803&r2=544804
==============================================================================
--- incubator/stdcxx/trunk/src/typeinfo.cpp (original)
+++ incubator/stdcxx/trunk/src/typeinfo.cpp Wed Jun  6 04:11:19 2007
@@ -93,7 +93,11 @@
 const char* type_info::name () const
 {
     // silence warning: _C_name declared but never used
+#ifdef _RWSTD_NO_STD_TYPE_INFO
     _RWSTD_UNUSED (::_C_name);
+#else
+    _RWSTD_UNUSED (std::_C_name);
+#endif   // _RWSTD_NO_STD_TYPE_INFO
 
     return _C_name;
 }


Reply via email to