Author: sebor
Date: Wed Feb 1 18:56:50 2006
New Revision: 374234
URL: http://svn.apache.org/viewcvs?rev=374234&view=rev
Log:
2006-02-01 Martin Sebor <[EMAIL PROTECTED]>
* wctype.cpp (<stdlib.h>): Included for wctomb.
(_RWSTD_NO_V3_LOCALE): Removed dead macro.
(__rw_toupper): Used _STD instead of _V3_LOCALE.
(__rw_tolower): Same.
Modified:
incubator/stdcxx/trunk/src/ChangeLog
incubator/stdcxx/trunk/src/wctype.cpp
Modified: incubator/stdcxx/trunk/src/ChangeLog
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/src/ChangeLog?rev=374234&r1=374233&r2=374234&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/ChangeLog (original)
+++ incubator/stdcxx/trunk/src/ChangeLog Wed Feb 1 18:56:50 2006
@@ -1,3 +1,10 @@
+2006-02-01 Martin Sebor <[EMAIL PROTECTED]>
+
+ * wctype.cpp (<stdlib.h>): Included for wctomb.
+ (_RWSTD_NO_V3_LOCALE): Removed dead macro.
+ (__rw_toupper): Used _STD instead of _V3_LOCALE.
+ (__rw_tolower): Same.
+
2006-01-19 Martin Sebor <[EMAIL PROTECTED]>
* ChangeLog: Generated and added.
Modified: incubator/stdcxx/trunk/src/wctype.cpp
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/src/wctype.cpp?rev=374234&r1=374233&r2=374234&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/wctype.cpp (original)
+++ incubator/stdcxx/trunk/src/wctype.cpp Wed Feb 1 18:56:50 2006
@@ -23,8 +23,7 @@
#include <rw/_defs.h>
-#ifndef _RWSTD_NO_V3_LOCALE
-# ifndef _RWSTD_NO_WCHAR_T
+#ifndef _RWSTD_NO_WCHAR_T
#include <ctype.h>
#include <limits.h>
@@ -34,8 +33,9 @@
# include <wchar.h> // for wctob()
#endif // _RWSTD_NO_WCHAR_H
-#include <wctype.h> // for iswspace(), ...
+#include <stdlib.h> // for wctomb()
#include <string.h> // for memset()
+#include <wctype.h> // for iswspace(), ...
#include <loc/_ctype.h>
#include <loc/_locale.h>
@@ -234,7 +234,7 @@
}
-static _V3_LOCALE::ctype_byname<wchar_t>::char_type
+static _STD::ctype_byname<wchar_t>::char_type
__rw_toupper (__rw_ctype_t* impl,
wchar_t c, bool use_libstd,
const char* locname)
@@ -289,7 +289,7 @@
}
-static _V3_LOCALE::ctype_byname<wchar_t>::char_type
+static _STD::ctype_byname<wchar_t>::char_type
__rw_tolower (__rw_ctype_t* impl,
wchar_t c, bool use_libstd,
const char* locname)
@@ -1012,5 +1012,4 @@
_RWSTD_DEFINE_FACET_FACTORY (static, ctype, <wchar_t>, wctype);
_RWSTD_SPECIALIZE_USE_FACET (wctype);
-# endif // _RWSTD_NO_WCHAR_T
-#endif // _RWSTD_NO_V3_LOCALE
+#endif // _RWSTD_NO_WCHAR_T