Does this fix a bug? (It looks like it does.) If so, it would
be nice to have an issue in Jira with a test case for it :)
Martin
[EMAIL PROTECTED] wrote:
Author: faridz
Date: Fri Jul 27 08:43:52 2007
New Revision: 560283
URL: http://svn.apache.org/viewvc?view=rev&rev=560283
Log:
2007-07-27 Farid Zaripov <[EMAIL PROTECTED]>
* cwchar: _RWSTD_NO_TM replaced with _RWSTD_NO_STRUCT_TM.
Added using ::tm after #including _RWSTD_ANSI_C_TIME_H.
Modified:
incubator/stdcxx/trunk/include/ansi/cwchar
Modified: incubator/stdcxx/trunk/include/ansi/cwchar
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/ansi/cwchar?view=diff&rev=560283&r1=560282&r2=560283
==============================================================================
--- incubator/stdcxx/trunk/include/ansi/cwchar (original)
+++ incubator/stdcxx/trunk/include/ansi/cwchar Fri Jul 27 08:43:52 2007
@@ -113,13 +113,15 @@
#ifndef _RWSTD_NO_STRUCT_TM_IN_WCHAR_H
using ::tm;
-#elif !defined (_RWSTD_NO_TM)
+#elif !defined (_RWSTD_NO_STRUCT_TM)
} // namespace std
#include _RWSTD_ANSI_C_TIME_H
namespace std {
+
+using ::tm;
#endif // NO_STRUCT_TM